| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | declare_variant_messages.cpp | 36 #pragma omp declare variant(foofoo <int>) match(implementation={vendor(score ibm)}) // expected-err… 79 #pragma omp declare variant(foofoo <int>) match(implementation={vendor(score(foofoo <int>()) ibm)})… 103 #pragma omp declare variant(foo) match(implementation = {vendor(score(foo) :llvm)}) 104 #pragma omp declare variant(foo) match(implementation = {vendor(score(foo()) :llvm)}) 122 #pragma omp declare variant(foo) match(implementation = {vendor(score(constexpr_fn(3)) : llvm)}) 126 #pragma omp declare variant(foo) match(implementation = {vendor(score(constexpr_fn(3)) : llvm)}) 127 #pragma omp declare variant(foo) match(implementation = {vendor(score(constexpr_fn(C)) : llvm)}) 154 #pragma omp declare variant(barbar <int>) match(implementation = {}) // expected-error {{function d… 159 #pragma omp declare variant(barbar <int>) match(implementation = {}) // expected-error {{function d… 166 #pragma omp declare variant(barbar <int>) match(implementation = {}) // expected-error {{function d… [all …]
|
| H A D | declare_variant_mixed_codegen.cpp | 38 #pragma omp declare variant(foo) match(implementation = {vendor(llvm)}, device={kind(cpu)}) 42 #pragma omp declare variant(bazzz) match(implementation = {vendor(llvm)}, device={kind(host)}) 46 #pragma omp declare variant(test) match(implementation = {vendor(llvm)}, device={kind(cpu)}) 51 #pragma omp declare variant(stat_unused_) match(implementation = {vendor(llvm)}, device={kind(cpu)}) 56 #pragma omp declare variant(stat_used_) match(implementation = {vendor(llvm)}, device={kind(host)}) 72 match(implementation = {vendor(llvm)}, device={kind(cpu)}) 75 match(implementation = {vendor(llvm)}, device={kind(host)}) 88 match(implementation = {vendor(llvm)}, device={kind(cpu)}) 91 match(implementation = {vendor(llvm)}, device={kind(host)}) 114 #pragma omp declare variant(prio4) match(implementation = {vendor(score(5): llvm)}) [all …]
|
| H A D | declare_variant_implementation_vendor_codegen.cpp | 27 #pragma omp declare variant(foo) match(implementation = {vendor(llvm)}) 31 #pragma omp declare variant(bazzz) match(implementation = {vendor(llvm)}) 35 #pragma omp declare variant(test) match(implementation = {vendor(llvm)}) 39 #pragma omp declare variant(stat_unused_) match(implementation = {vendor(llvm)}) 43 #pragma omp declare variant(stat_used_) match(implementation = {vendor(llvm)}) 59 match(implementation = {vendor(llvm)}) 62 match(implementation = {vendor(llvm)}) 75 match(implementation = {vendor(llvm)}) 78 match(implementation = {vendor(llvm)}) 93 #pragma omp declare variant(prio) match(implementation = {vendor(llvm)}) [all …]
|
| H A D | nvptx_declare_variant_implementation_vendor_codegen.cpp | 35 #pragma omp declare variant(foo) match(implementation = {vendor(llvm)}) 38 #pragma omp declare variant(bazzz) match(implementation = {vendor(llvm)}) 41 #pragma omp declare variant(test) match(implementation = {vendor(llvm)}) 73 match(implementation = {vendor(llvm)}) 76 match(implementation = {vendor(llvm)}) 89 match(implementation = {vendor(llvm)}) 92 match(implementation = {vendor(llvm)}) 117 #pragma omp declare variant(prio) match(implementation = {vendor(llvm)}) 118 #pragma omp declare variant(prio1) match(implementation = {vendor(score(1) \ 122 #pragma omp declare variant(prio4) match(implementation = {vendor(score(3) \ [all …]
|
| H A D | declare_variant_ast_print.cpp | 29 #pragma omp declare variant(foofoo <int>) match(implementation = {vendor("unknown")}) 30 #pragma omp declare variant(foofoo <int>) match(implementation = {vendor(score(5): ibm)}, device = … 47 #pragma omp declare variant(foofoo <T>) match(implementation = {vendor(llvm)}, device = {kind(cpu)}) 48 #pragma omp declare variant(foofoo <T>) match(implementation={vendor(unknown)}) 81 #pragma omp declare variant(h_ref <C>) match(implementation = {vendor(llvm)}, device = {kind(gpu)}) 82 #pragma omp declare variant(h_ref <C>) match(implementation = {vendor(unknown)}, device = {kind(noh… 97 #pragma omp declare variant(h_ref <double>) match(implementation={vendor(unknown)}) 111 #pragma omp declare variant(fn) match(implementation={vendor(llvm)}) 112 #pragma omp declare variant(fn) match(implementation = {vendor(unknown)}, device = {kind(cpu, gpu)}) 167 #pragma omp declare variant(SpecialFuncs::bar) match(implementation = {vendor(ibm)}, device = {kind… [all …]
|
| H A D | declare_variant_messages.c | 86 #pragma omp declare variant(foo) match(implementation={vendor(llvm)}) // expected-error {{function … 87 #pragma omp declare variant(foo) match(implementation={vendor(llvm)}) // expected-error {{function … 147 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)}) 150 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)}) 154 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)}) 158 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)}) 162 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)}) 165 #pragma omp declare variant(incompat_attr_variant) match(implementation={vendor(llvm)}) 171 #pragma omp declare variant(not_marked) match(implementation={vendor(unknown)}, device={kind(cpu)})… 203 #pragma omp begin declare variant match(implementation = {vendor(score(2) \ [all …]
|
| H A D | metadirective_implementation_codegen.cpp | 12 #pragma omp metadirective when(implementation = {vendor(score(0) \ in foo() 18 : target teams) when(implementation = {vendor(llvm)} \ in foo() 21 #pragma omp metadirective default(target) when(implementation = {vendor(score(5) \ in foo() 26 #pragma omp metadirective when(implementation = {extension(match_all)} \ in foo() 30 #pragma omp metadirective when(implementation = {extension(match_any)} \ in foo() 34 #pragma omp metadirective when(implementation = {extension(match_none)} \ in foo()
|
| H A D | metadirective_implementation_codegen.c | 12 #pragma omp metadirective when(implementation = {vendor(score(0) \ in foo() 18 : target teams) when(implementation = {vendor(llvm)} \ in foo() 21 #pragma omp metadirective default(target) when(implementation = {vendor(score(5) \ in foo() 26 #pragma omp metadirective when(implementation = {extension(match_all)} \ in foo() 30 #pragma omp metadirective when(implementation = {extension(match_any)} \ in foo() 34 #pragma omp metadirective when(implementation = {extension(match_none)} \ in foo()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-openmp-declare-variant-extensions.c | 19 #pragma omp declare variant(picked1) match(implementation={extension(match_any)}, device={kind(cpu,… 22 #pragma omp declare variant(picked2) match(implementation={extension(match_none)}, device={kind(gpu… 25 #pragma omp declare variant(picked3) match(implementation={vendor(pgi), extension(match_any)}, devi… 34 #pragma omp declare variant(not_picked1) match(implementation={extension(match_any)}, device={kind(… 37 #pragma omp declare variant(not_picked2) match(implementation={extension(match_none)}, device={kind… 49 #pragma omp declare variant(not_picked6) match(implementation={extension(match_any)}) 52 #pragma omp declare variant(picked6) match(implementation={extension(match_all)}) 55 #pragma omp declare variant(picked7) match(implementation={extension(match_none)}) 58 #pragma omp begin declare variant match(implementation={extension(match_any)}, device={kind(cpu, gp… 63 #pragma omp begin declare variant match(implementation={extension(match_none)}, device={kind(fpga, … [all …]
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | objc-error-qualified-implementation.m | 9 @implementation I<P> @end // expected-error {{@implementation declaration cannot be protocol qualif… 15 @implementation J < P,P > // expected-error {{@implementation declaration cannot be protocol qualif… 20 @implementation K <P // expected-error {{@implementation declaration cannot be protocol qualified}}… 24 @implementation I (Cat) <P> // expected-error {{@implementation declaration cannot be protocol qua… 28 @implementation I (Cat1) <P // expected-error {{@implementation declaration cannot be protocol qual…
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | method-typecheck-1.m | 9 @implementation A 10 -(void) setMoo: (float) x {} // expected-warning {{conflicting parameter types in implementation o… 21 @implementation C 22 +(float) cMoo: // expected-warning {{conflicting return type in implementation of 'cMoo:': 'void'… 23 …(float) x { return 0; } // expected-warning {{conflicting parameter types in implementation of 'c… 32 @implementation A(CAT) 33 -(float) setCat: // expected-warning {{conflicting return type in implementation of 'setCat:': 'vo… 34 (float) x { return 0; } // expected-warning {{conflicting parameter types in implementation of 'se… 35 …t) x { return 0; } // expected-warning {{conflicting return type in implementation of 'cCat:': 'v… 39 // test that when implementation implements method in a category, types match. [all …]
|
| H A D | missing-atend-metadata.m | 6 @implementation I0 // expected-note {{implementation started here}} 12 @implementation I1 // expected-note {{implementation started here}} 19 @implementation I2 // expected-note {{implementation started here}} 22 @implementation I2(CAT) // expected-error 2 {{missing '@end'}} expected-note {{implementation star…
|
| H A D | method-conflict-1.m | 18 @implementation MyClass 21 …SArray *)object { // broken-warning {{conflicting parameter types in implementation of 'myMethod1:… 34 @implementation MyOtherClass 35 …yClass *)object { // broken-warning {{conflicting parameter types in implementation of 'myMethod:'… 51 @implementation Test1 52 - (void) test1:(B*) object {} // broken-warning {{conflicting parameter types in implementation of … 61 @implementation Test2 62 - (void) test1:(A*) object {} // broken-warning {{conflicting parameter types in implementation of … 71 @implementation Test3 73 - (A*) test2 { return 0; } // broken-warning {{conflicting return type in implementation of 'test2'… [all …]
|
| H A D | property-category-4.m | 14 @implementation IDELogNavigator 15 …xpected-error {{property declared in category 'CAT' cannot be implemented in class implementation}} 16 …xpected-error {{property declared in category 'CAT' cannot be implemented in class implementation}} 34 @implementation NSArray(Additions) 48 @implementation NSArray1(Additions) 60 @implementation NSArray2(Additions) 74 @implementation NSArray3 86 @implementation I(CAT) 104 @implementation C (Category) // expected-warning {{property 'p1' requires method 'p1' to be define… 121 …implementation MyObject (CAT) // expected-warning {{property 'anotherFloat' requires method 'anoth…
|
| H A D | method-conflict-2.m | 12 @implementation Test1 13 - (void) test1:(B*) object {} // expected-warning {{conflicting parameter types in implementation o… 22 @implementation Test2 23 - (void) test1:(A*) object {} // expected-warning {{conflicting parameter types in implementation o… 32 @implementation Test3 34 - (A*) test2 { return 0; } // expected-warning {{conflicting return type in implementation of 'test… 42 @implementation Test4 62 @implementation CKIMMessage 70 // is seen by the method implementation type matching logic before 88 @implementation UsesProtocolWithValue [all …]
|
| H A D | protocol-warn.m | 11 @implementation UIResponder 17 @implementation UIView 23 @implementation UIWebTiledView 29 @implementation UIWebDocumentView 35 @implementation UIWebBrowserView 41 @implementation UIPDFView 47 @implementation UIWebPDFView
|
| H A D | default-synthesize-1.m | 15 @implementation SynthItAll // expected-note 2 {{detected while default synthesizing properties in c… 25 @implementation SynthSetter // expected-note 2 {{detected while default synthesizing properties in … 45 @implementation SynthGetter // expected-note 2 {{detected while default synthesizing properties in … 68 @implementation SynthNone 90 // No default synthesis if implementation has getter (readonly) and setter(readwrite) methods. 100 @implementation DSATextSearchResult 110 @implementation DSANodeSearchResult 123 @implementation rdar11333367 // expected-error {{cannot synthesize property 'y' with incomplete typ… 124 … // expected-note {{detected while default synthesizing properties in class implementation}} 139 @implementation ZXCalendarParsedResult // expected-note {{detected while default synthesizing prope… [all …]
|
| H A D | super-class-protocol-conformance.m | 22 @implementation SubClass1 @end // Test1 - No Warning 24 @implementation TopClass // expected-warning {{property 'myString' requires method 'myString' to b… 27 @implementation SubClass // Test3 - No Warning 33 @implementation SubClass2 @end // Test 4 - No Warning 36 @implementation SubClass3 @end // Test 5 - No Warning 39 @implementation SubClass4 @end // Test 5 - No Warning 46 @implementation SubClass5 @end // expected-warning {{property 'myNewString' requires method 'myNe… 63 @implementation INTF @end // expected-warning{{property 'invalidationBacktrace' requires method 'in…
|
| H A D | class-impl-1.m | 12 @implementation INTF @end // expected-note {{previous definition is here}} 14 @implementation INTF // expected-error {{reimplementation of class 'INTF'}} 21 @implementation INTF1 : SUPER // expected-error {{conflicting super class name 'SUPER'}} 27 @implementation INTF2 : SUPR // expected-error {{cannot find interface declaration for 'SUPR', sup… 30 @implementation INTF3 @end // expected-error {{redefinition of 'INTF3' as different kind of symbol}} 32 @implementation INTF4 @end // expected-warning {{cannot find interface declaration for 'INTF4'}} 36 @implementation INTF5 { // expected-warning {{cannot find interface declaration for 'INTF5'}}
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | non-lazy-classes.m | 7 @implementation A 13 @implementation A (Cat) 19 @implementation B 25 @implementation B (Cat) 31 @implementation C 37 @implementation D @end 42 @implementation E @end 45 @implementation E (MyCat)
|
| H A D | dot-syntax-1.m | 21 @implementation Top0 31 @implementation Bot0 52 @implementation Top1 62 @implementation Bot1 83 @implementation Top2 93 @implementation Bot2 114 @implementation Top3 124 @implementation Bot3 145 @implementation Top4 155 @implementation Bot4 [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | DeallocMissingRelease.m | 27 @implementation MyIvarClass1 53 @implementation MyIvarClass2 86 @implementation MyPropertyClass1 99 @implementation MyPropertyClass2 114 @implementation MyPropertyClass3 134 @implementation MyPropertyClass4 153 @implementation MyPropertyClass5 234 @implementation MyObject 713 @implementation MyClassTest 734 @implementation MyClassXCTest [all …]
|
| H A D | MissingDealloc.m | 33 @implementation MissingDeallocWithIvar 44 @implementation MissingDeallocWithIntProperty 51 @implementation MissingDeallocWithSELProperty 64 @implementation MissingDeallocWithCopyProperty 74 @implementation MissingDeallocWithRetainProperty 85 @implementation MissingDeallocWithMultipleProperties 121 @implementation TestSELs 142 @implementation HasOutlet // no-warning 167 @implementation MyClassTest 183 @implementation NonNSObjectMissingDealloc [all …]
|
| /llvm-project-15.0.7/clang/test/ASTMerge/category/Inputs/ |
| H A D | category1.m | 27 // Category with implementation 31 @implementation I2 (Cat3) 34 // Category with implementation 38 @implementation I2 (Cat4) 41 // Category with mismatched implementation 45 @implementation I2 (Cat6)
|
| H A D | category2.m | 29 // Category with implementation 33 @implementation I2 (Cat3) 36 // Category with implementation 40 @implementation I2 (Cat5) 43 // Category with mismatched implementation 47 @implementation I2 (Cat6)
|