Home
last modified time | relevance | path

Searched full:previously (Results 1 – 25 of 1312) sorted by relevance

12345678910>>...53

/llvm-project/clang/test/SemaCXX/
H A Dstruct-class-redecl.cpp4 typedef struct X * X_t; // expected-warning{{previously declared}}
8 template<class U> class Y { }; // expected-warning{{previously declared}}
18 struct A; // expected-warning{{struct 'A' was previously declared as a class}}
23 struct B; // expected-warning{{struct 'B' was previously declared as a class}}
24 struct B {}; // expected-warning{{'B' defined as a struct here but previously declared as a class}}
27 struct C; // expected-warning{{struct 'C' was previously declared as a class}}\
30 class C; // expected-warning{{class 'C' was previously declared as a struct}}\
32 struct C; // expected-warning{{struct 'C' was previously declared as a class}}\
34 class C {}; // expected-warning{{'C' defined as a class here but previously declared as a struct}}
40 class D; // expected-warning{{class 'D' was previously declared as a struct}}\
[all …]
H A Ddecl-microsoft-call-conv.cpp16 …nc_default(); // expected-error {{function declared 'stdcall' here was previously declared without…
17 …c_default(); // expected-error {{function declared 'fastcall' here was previously declared without…
20 …func_cdecl(); // expected-error {{function declared 'stdcall' here was previously declared 'cdecl'…
21 …unc_cdecl(); // expected-error {{function declared 'fastcall' here was previously declared 'cdecl'…
24 …func_stdcall(); // expected-error {{function declared 'cdecl' here was previously declared 'stdcal…
25 …c_stdcall(); // expected-error {{function declared 'fastcall' here was previously declared 'stdcal…
27 …unc_fastcall(); // expected-error {{function declared 'cdecl' here was previously declared 'fastca…
28 …c_fastcall(); // expected-error {{function declared 'stdcall' here was previously declared 'fastca…
31 …c_vectorcall(); // expected-error {{function declared 'cdecl' here was previously declared 'vector…
32 …vectorcall(); // expected-error {{function declared 'stdcall' here was previously declared 'vector…
[all …]
H A Daccess.cpp4 struct S; // expected-note {{previously declared 'private' here}}
11 class C; // expected-note {{previously declared 'public' here}}
19 template<typename T> struct A; // expected-note {{previously declared 'protected' here}}
29 class X; // expected-note {{previously declared 'private' here}} \
H A Dattr-regparm.cpp14 …{ } // expected-error{{function declared with regparm(2) attribute was previously declared with th… in f2()
15 …{ } // expected-error{{function declared with regparm(2) attribute was previously declared without… in f3()
/llvm-project/clang/test/OpenMP/
H A Drequires_messages.cpp5previously used here}} expected-note {{unified_address clause previously used here}} expected-note…
7 …v-note {{unified_shared_memory clause previously used here}} expected-note{{unified_shared_memory …
16 …fload // rev-note {{reverse_offload clause previously used here}} rev-note {{reverse_offload claus…
21 …/ rev-note {{dynamic_allocators clause previously used here}} expected-note {{dynamic_allocators c…
25previously used here}} expected-note {{atomic_default_mem_order clause previously used here}} expe…
H A Dallocate_allocator_messages.cpp34 …ing {{allocate directive specifies 'omp_thread_mem_alloc' allocator while previously used default}}
43 …xpected-warning {{allocate directive specifies default allocator while previously used 'omp_thread…
47 …{{allocate directive specifies 'omp_high_bw_mem_alloc' allocator while previously used 'omp_thread…
H A Drequires_target_messages.cpp6 …agma omp target // expected-note 3 {{'target' previously encountered here}} rev-note {{'target' pr… in foo2()
H A Drequires_default_atomic_mem_order_messages.cpp5 #pragma omp atomic update // expected-note 3 {{'atomic' previously encountered here}} in foo2()
9 …efault_mem_order' clause}} expected-note 2 {{atomic_default_mem_order clause previously used here}}
/llvm-project/clang/test/SemaTemplate/
H A Dconcepts-recovery-expr.cpp22 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in NVCUse()
27 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in NVCUse()
31 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in NVCUse()
56 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in OVCUse()
61 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in OVCUse()
66 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in OVCUse()
92 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in OBNVCUse()
98 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in OBNVCUse()
104 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in OBNVCUse()
134 …bstituted constraint expression is ill-formed: constraint depends on a previously diagnosed expres… in MemOVCUse()
[all …]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dredundant-access-specifiers.cpp8 // CHECK-MESSAGES: :[[@LINE-4]]:1: note: previously declared here
20 // CHECK-MESSAGES: :[[@LINE-4]]:1: note: previously declared here
32 // CHECK-MESSAGES: :[[@LINE-4]]:1: note: previously declared here
44 // CHECK-MESSAGES: :[[@LINE-4]]:1: note: previously declared here
56 // CHECK-MESSAGES: :[[@LINE-4]]:1: note: previously declared here
72 // CHECK-MESSAGES: :[[@LINE-8]]:1: note: previously declared here
/llvm-project/clang/test/Sema/
H A Darray-parameter.c5 void f1(int a[]); // expected-note {{previously declared as 'int[]' here}}
8 void f2(int a[3]); // expected-note {{previously declared as 'int[3]' here}}
26 void f8(int n, int a[*]); // expected-note {{previously declared as 'int[*]' here}}
32 // expected-note@-2 {{previously declared as 'int[2]' here}}
34 // expected-note@-3 {{previously declared as 'int[]' here}} in f9()
H A Dgeneric-selection-type-extension.c52 …pected-error {{type 'const int' in generic association compatible with previously specified type '…
66 …e 'OtherCInt' (aka 'const int') in generic association compatible with previously specified type '…
72 …expected-error {{type 'int[12]' in generic association compatible with previously specified type '…
74 …pected-error {{type 'int (int)' in generic association compatible with previously specified type '…
H A Daarch64-vpcs.c10 …{} // expected-error {{function declared 'aarch64_vector_pcs' here was previously declared 'cdecl'… in foo2()
13 …{} // expected-error {{function declared 'aarch64_vector_pcs' here was previously declared without… in foo3()
/llvm-project/clang/test/Analysis/
H A Dfuchsia_handle.cpp220 zx_handle_close(sa); // expected-warning {{Releasing a previously released handle}} in checkDoubleRelease01()
221 // expected-note@-1 {{Releasing a previously released handle}} in checkDoubleRelease01()
235 use1(&sa); // expected-warning {{Using a previously released handle}} in checkUseAfterFree01()
236 // expected-note@-1 {{Using a previously released handle}} in checkUseAfterFree01()
240 use2(sb); // expected-warning {{Using a previously released handle}} in checkUseAfterFree01()
241 // expected-note@-1 {{Using a previously released handle}} in checkUseAfterFree01()
270 use2(sb); // expected-warning {{Using a previously released handle}} in checkHandleInStructureUseAfterFree()
271 // expected-note@-1 {{Using a previously released handle}} in checkHandleInStructureUseAfterFree()
283 use_handle_struct(hs); // expected-warning {{Using a previously released handle}} in checkHandleInStructureUseAfterFree2()
284 // expected-note@-1 {{Using a previously released handle}} in checkHandleInStructureUseAfterFree2()
[all …]
H A Dmisc-ps-region-store.cpp30 // previously crashed.
234 // Previously triggered a crash. in test_namespace()
258 // This previously triggered an uninitialized values warning. in rdar9212512()
291 // Test constructors invalidating arguments. Previously this raised
351 // This previously warned because 'dVal' was thought to be uninitialized. in test_ref_double()
419 // Previously triggered a null dereference. in test()
424 // Test loads from static fields. This previously triggered an uninitialized
560 // currently doesn't do anything intelligent here, this previously
647 // the same way. This previously resulted in a "return of stack address"
684 // Test the correct handling of integer to bool conversions. Previously
[all …]
H A Dmisc-ps.m306 // This just tests that the CFG is constructed correctly. Previously, the
335 // Previously this case would crash.
343 // types. This was previously causing a crash in CastRegion.
359 // RegionStore::Retrieve previously crashed on this example. This example
360 // was previously in the test file 'xfail_regionstore_wine_crash.c'.
368 // RegionStoreManager previously crashed on this example. The problem is that
459 // This previously was a crash in RegionStoreManager.
539 // This is a reduced test case of a false positive that previously appeared
540 // in RegionStoreManager. Previously the array access resulted in dereferencing
654 return x; // Previously we return and uninitialized value when
[all …]
H A Dmpicheckernotes.cpp10 …_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblock… in doubleNonblocking()
18 …E, MPI_SUM, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblock… in missingWait()
28 …OUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note 2{{Request is previously used by nonblock… in tripleNonblocking()
/llvm-project/clang/test/SemaOpenCL/
H A Daccess-qualifier.cl8 typedef image1d_t img1d_ro_default; // expected-note {{previously declared 'read_only' here}}
10 typedef write_only image1d_t img1d_wo; // expected-note {{previously declared 'write_only' here}}
108 // expected-note@-94 {{previously declared 'read_write' here}}
124 // expected-note@-2 {{previously declared 'read_only' here}}
133 // expected-note@-122 {{previously declared 'read_only' here}}
136 // expected-note@-128 {{previously declared 'read_only' here}}
140 // expected-note@-130 {{previously declared 'write_only' here}}
/llvm-project/mlir/test/Dialect/Transform/
H A Dexpensive-checks.mlir27 … // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
87 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
106 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
139 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
159 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
184 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
209 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
237 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
257 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
282 // expected-error @below {{op uses a handle invalidated by a previously executed transform op}}
[all …]
/llvm-project/clang/test/CXX/except/except.spec/
H A Dp4.cpp13 S::~S() noexcept {} // expected-warning {{function previously declared with an implicit exception s… in ~S()
14 void S::operator delete(void*) noexcept {} // expected-warning {{function previously declared with … in operator delete()
23 T::~T() {} // expected-warning {{function previously declared with an explicit exception specificat… in ~T()
24 void T::operator delete(void*) {} // expected-warning {{function previously declared with an explic… in operator delete()
/llvm-project/compiler-rt/test/hwasan/TestCases/
H A Ddeep-recursion.c63 // D1: Previously allocated frames
68 // D2: Previously allocated frames
74 // D3: Previously allocated frames
81 // D5: Previously allocated frames
90 // DEFAULT: Previously allocated frames
/llvm-project/mlir/include/mlir/Tools/PDLL/ODS/
H A DContext.h38 /// constraint, or a previously inserted constraint with the same name.
44 /// constraint, or a previously inserted constraint with the same name.
49 /// previously inserted dialect with the same name.
/llvm-project/clang/include/clang/AST/
H A DASTMutationListener.h113 /// A declaration is marked used which was not previously marked used.
119 /// previously marked as threadprivate.
125 /// previously marked as declaretarget.
139 /// \param D The definition that was previously not visible.
/llvm-project/clang/test/Frontend/
H A Dmultiple-actions.c2 // ERR1: error: '-S' action ignored; '-emit-llvm' action specified previously
5 // ERR2: error: '-emit-llvm-only' action ignored; '-S' action specified previously
/llvm-project/clang/test/CXX/special/class.dtor/
H A Dp3.cpp7 …A::~A() noexcept {} // expected-warning {{previously declared with an implicit exception specifica… in ~A()
10 B::~B() {} // expected-warning {{previously declared with an explicit exception specification}} in ~B()

12345678910>>...53