Home
last modified time | relevance | path

Searched refs:undeclared (Results 1 – 25 of 105) sorted by relevance

12345

/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dclang-builtin-version.cl9 …enqueue_kernel(tmp, tmp, tmp, ^(void) { // expected-error{{use of undeclared identifier 'enqueue_k…
20 // FIXME: the typo correction for the undeclared identifiers finds alternative
35 foo(void); // expected-error{{use of undeclared identifier 'foo'; did you mean 'for'?}}
38 boo(); // expected-error{{use of undeclared identifier 'boo'}}
41 read_pipe(tmp, tmp); // expected-error{{use of undeclared identifier 'read_pipe'}}
43 write_pipe(tmp, tmp); // expected-error{{use of undeclared identifier 'write_pipe'}}
45 …reserve_read_pipe(tmp, tmp); // expected-error{{use of undeclared identifier 'reserve_read_pipe'}}
46 …reserve_write_pipe(tmp, tmp); // expected-error{{use of undeclared identifier 'reserve_write_pipe'…
54 commit_read_pipe(tmp, tmp); // expected-error{{use of undeclared identifier 'commit_read_pipe'}}
55 commit_write_pipe(tmp, tmp); // expected-error{{use of undeclared identifier 'commit_write_pipe'}}
[all …]
H A Dintel-subgroup-avc-ext-types.cl49 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_mce_payload_t'}}
50 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_ime_payload_t'}}
51 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_ref_payload_t'}}
52 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_sic_payload_t'}}
53 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_mce_result_t'}}
54 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_ime_result_t'}}
55 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_ref_result_t'}}
56 // expected-error@-28 {{use of undeclared identifier 'intel_sub_group_avc_sic_result_t'}}
82 // expected-error@-11 {{use of undeclared identifier 'intel_sub_group_avc_sic_result_t'}}
83 // expected-error@-11 {{use of undeclared identifier 'intel_sub_group_avc_ime_result_t'}}
[all …]
H A Darm-integer-dot-product.cl10 ur = arm_dot(ua8, ub8); // expected-error{{use of undeclared identifier 'arm_dot'}}
11 sr = arm_dot(sa8, sb8); // expected-error{{use of undeclared identifier 'arm_dot'}}
12 ur = arm_dot_acc(ua8, ub8, ur); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
13 sr = arm_dot_acc(sa8, sb8, sr); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
14 … ur = arm_dot_acc(ua16, ub16, ur); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
15 … sr = arm_dot_acc(sa16, sb16, sr); // expected-error{{use of undeclared identifier 'arm_dot_acc'}}
16 …ur = arm_dot_acc_sat(ua8, ub8, ur); // expected-error{{use of undeclared identifier 'arm_dot_acc_s…
17 …sr = arm_dot_acc_sat(sa8, sb8, sr); // expected-error{{use of undeclared identifier 'arm_dot_acc_s…
H A Dto_addr_builtin.cl17 // expected-error@-2{{use of undeclared identifier 'to_global'}}
25 // expected-error@-2{{use of undeclared identifier 'to_global'}}
32 // expected-error@-2{{use of undeclared identifier 'to_global'}}
39 // expected-error@-2{{use of undeclared identifier 'to_global'}}
46 // expected-error@-2{{use of undeclared identifier 'to_global'}}
54 // expected-error@-2{{use of undeclared identifier 'to_private'}}
62 // expected-error@-2{{use of undeclared identifier 'to_local'}}
69 // expected-error@-2{{use of undeclared identifier 'to_global'}}
85 // expected-error@-2{{use of undeclared identifier 'to_local'}}
93 // expected-error@-2{{use of undeclared identifier 'to_global'}}
[all …]
H A Dinvalid-device-enqueue-types-cl3.0.cl8 // expected-error@-3 {{use of undeclared identifier 'clk_event_t'}}
9 // expected-error@-3 {{use of undeclared identifier 'queue_t'}}
/llvm-project-15.0.7/clang/test/Sema/
H A Dimplicit-decl.c22 …expected-warning {{call to undeclared function '_CFCalendarDecomposeAbsoluteTimeV'; ISO C99 and la… in func()
23 … c2x-error {{use of undeclared identifier '_CFCalendarDecomposeAbsoluteTimeV'}} in func()
28 …expected-warning{{call to undeclared function 'printg'; ISO C99 and later do not support implicit … in func()
29 … c2x-error {{use of undeclared identifier 'printg'; did you mean 'printf'?}} in func()
48 …expected-warning{{call to undeclared function 'formatd'; ISO C99 and later do not support implicit… in test_implicit()
49 … c2x-error {{use of undeclared identifier 'formatd'; did you mean 'formats'?}} \ in test_implicit()
55 …expected-warning {{call to undeclared function 'bark'; ISO C99 and later do not support implicit f… in test_suggestion()
56 c2x-error {{use of undeclared identifier 'bark'}} in test_suggestion()
58 …expected-warning {{call to undeclared function 'bork'; ISO C99 and later do not support implicit f… in test_suggestion()
59 c2x-error {{use of undeclared identifier 'bork'}} in test_suggestion()
H A Dimplicit-intel-builtin-decl.c6 c-warning{{call to undeclared library function '_mm_getcsr'}} \ in f()
9 c-warning{{call to undeclared library function '_mm_setcsr'}} \ in f()
12 c-warning{{call to undeclared library function '_mm_sfence'}} \ in f()
16 c-warning{{call to undeclared library function '_mm_clflush'}} \ in f()
19 c-warning{{call to undeclared library function '_mm_lfence'}} \ in f()
22 c-warning{{call to undeclared library function '_mm_mfence'}} \ in f()
25 c-warning{{call to undeclared library function '_mm_pause'}} \ in f()
H A Dinvalid-bitwidth-expr.mm5 int Foo : foo(); // expected-error {{use of undeclared identifier}}
9 struct X { int Y: foo(); }; // expected-error {{use of undeclared identifier}}
15 return undef(); // expected-error {{use of undeclared identifier}}
37 int X : sizeof(_BitInt(invalid())); // expected-error {{use of undeclared identifier}}
/llvm-project-15.0.7/clang/test/Parser/
H A Dopencl-atomics-cl20.cl20 // expected-error@-5 {{use of undeclared identifier 'atomic_int'}}
21 // expected-error@-5 {{use of undeclared identifier 'atomic_uint'}}
22 // expected-error@-5 {{use of undeclared identifier 'atomic_float'}}
23 // expected-error@-5 {{use of undeclared identifier 'atomic_flag'}}
38 // expected-error@-11 {{use of undeclared identifier 'atomic_long'}}
39 // expected-error@-11 {{use of undeclared identifier 'atomic_ulong'}}
40 // expected-error@-11 {{use of undeclared identifier 'atomic_double'}}
43 // expected-error@-16 {{use of undeclared identifier 'l'}}
45 // expected-error@-17 {{use of undeclared identifier 'ul'}}
55 // expected-error@-25 {{use of undeclared identifier 's'}}
[all …]
H A DDelayedTemplateParsing.cpp6 undeclared(); in foo()
18 undeclared(); in foo3()
29 undeclared(); in foo2()
35 undeclared(); in foo3()
41 void undeclared() in undeclared() function
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dbuiltin_objc_lib_functions.m3 Class f0(void) { return objc_getClass("a"); } // expected-warning {{call to undeclared library func…
7 Class f1(void) { return objc_getMetaClass("a"); } // expected-warning {{call to undeclared library …
10 void f2(id val) { objc_enumerationMutation(val); } // expected-warning {{call to undeclared library…
13 …{ return objc_msgSend_fpret(self, op); } // expected-warning {{call to undeclared library function…
17 …return objc_msgSendSuper(super, op); // expected-warning {{call to undeclared library function 'ob…
22 …return objc_assign_strongCast(val, dest); // expected-warning {{call to undeclared library functio…
27 …return objc_exception_match(exceptionClass, exception); // expected-warning {{call to undeclared l…
H A Dsynth-provisional-ivars.m24 - (int) Meth1 { return PROP1; } // expected-error {{use of undeclared identifier 'PROP1'}}
26 - (int) Meth2 { return PROP2; } // expected-error {{use of undeclared identifier 'PROP2'}}
29 - (int) Meth3 { return PROP3; } // expected-error {{use of undeclared identifier 'PROP3'}}
43 - (int) Meth { return PROP1; } // expected-error {{use of undeclared identifier 'PROP1'}}
H A Ddefault-synthesize-1.m72 return howMany; // expected-error {{use of undeclared identifier 'howMany'}}
75 howMany = value; // expected-error {{use of undeclared identifier 'howMany'}}
79 return what; // expected-error {{use of undeclared identifier 'what'}}
82 if (what != value) { // expected-error {{use of undeclared identifier 'what'}}
83 [what release]; // expected-error {{use of undeclared identifier 'what'}}
84 what = [value retain]; // expected-error {{use of undeclared identifier 'what'}}
141 return _description; // expected-error {{use of undeclared identifier '_description'}}
H A Dcrash-on-type-args-protocols.m17 … {{expected a type}} expected-error {{use of undeclared identifier 'P'}} expected-error {{use of u…
23 …cted interface name 'X': expected expression}} expected-error {{use of undeclared identifier 'v'}}…
29 …e 'P'}} expected-error {{expected expression}} expected-error {{use of undeclared identifier 'v'}}…
H A Dtypo-correction-subscript.m12 // expected-error@-2{{use of undeclared identifier 'undeclaredArg}}
14 // expected-error@-1{{use of undeclared identifier 'undeclaredKey'}}
H A Dundef-arg-super-method-call.m17 …[super addViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you me…
21 …[super addInstViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did yo…
H A Dbuiltin_objc_nslog.m6 …NSLog(@"%@", arg); // expected-warning {{call to undeclared library function 'NSLog' with type 'vo…
11 …NSLogv(@"%@", args); // expected-warning {{call to undeclared library function 'NSLogv' with type …
H A Derror-outof-scope-property-use.m18 [uuids_jobs objectForKey]; // expected-error {{use of undeclared identifier 'uuids_jobs'}} \
28 …[uuids_jobs enumerateKeysAndObjectsUsingBlock]; // expected-error {{use of undeclared identifier '…
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dgoto.mm13 goto undeclared; // expected-error{{use of undeclared label 'undeclared'}}
H A Dtypo-correction.mm21 …self.m_prop2 = new ClassB(m_prop1); // expected-error {{use of undeclared identifier 'm_prop1'; di…
36 …float a = ((InvalidNameInIvarAndPropertyBase*)node)->_a; // expected-error {{use of undeclared ide…
37 …float b = ((InvalidNameInIvarAndPropertyBase*)node)._b; // expected-error {{use of undeclared iden…
55 …typoCandidate.x = 0; // expected-error {{use of undeclared identifier 'typoCandidate'; did you mea…
86 …} while (tlMat.rows); // expected-error {{use of undeclared identifier 'tlMat'; did you mean 'tlMa…
/llvm-project-15.0.7/mlir/test/IR/
H A Dinvalid-affinemap.mlir37 #hello_world = affine_map<(i, j) [s0] -> (x)> // expected-error {{use of undeclared identifier}}
57 …affine_map<(i, j) [s0, s1] -> (floordiv i 2, j)> // expected-error {{use of undeclared identifier}}
60 … affine_map<(i, j) [s0, s1] -> (ceildiv i 2, j)> // expected-error {{use of undeclared identifier}}
63 #hello_world = affine_map<(i, j) [s0, s1] -> (mod i 2, j)> // expected-error {{use of undeclared id…
74 …affine_map<(i, j) [s0, s1] -> (i, floordiv j+5)> // expected-error {{use of undeclared identifier}}
77 … affine_map<(i, j) [s0, s1] -> (i, ceildiv j+5)> // expected-error {{use of undeclared identifier}}
80 #hello_world = affine_map<(i, j) [s0, s1] -> (i, mod j+5)> // expected-error {{use of undeclared id…
102 #hello_world = affine_map<(i, j) -> (i, 3*d0 + )> // expected-error {{use of undeclared identifier}}
/llvm-project-15.0.7/clang/test/Index/skip-parsed-bodies/
H A Dcompile_commands.json33 // CHECK-NEXT: [diagnostic]: {{.*}} undeclared identifier 'undef_val1'
34 // CHECK-NEXT: [diagnostic]: {{.*}} undeclared identifier 'undef_val2'
35 // CHECK-NEXT: [diagnostic]: {{.*}} undeclared identifier 'undef_val3'
53 // CHECK-NEXT: [diagnostic]: {{.*}} undeclared identifier 'undef_val4'
54 // CHECK-NEXT: [diagnostic]: {{.*}} undeclared identifier 'undef_tsval'
55 // CHECK-NEXT: [diagnostic]: {{.*}} undeclared identifier 'undef_impval'
73 // CHECK-NOT: [diagnostic]: {{.*}} undeclared identifier
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dunknown-type-name.cpp75 int f1(undeclared, int); // expected-error{{unknown type name 'undeclared'}}
77 int f2(undeclared, 0); // expected-error{{undeclared identifier}}
79 int f3(undeclared *p, int); // expected-error{{unknown type name 'undeclared'}}
81 int f4(undeclared *p, 0); // expected-error{{undeclared identifier}}
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-invalid-code.mm17 void foo(int x = undeclared) { // expected-error {{undeclared}}
H A Dobjcmt-invalid-code.mm.result17 void foo(int x = undeclared) { // expected-error {{undeclared}}

12345