Lines Matching full:second
9 // Build second header file
10 // RUN: echo "#define SECOND" >> %t/include/second.h
11 // RUN: cat %t/test.m >> %t/include/second.h
12 // RUN: echo "#undef SECOND" >> %t/include/second.h
16 // RUN: %clang_cc1 -fsyntax-only -x objective-c %t/include/second.h -fblocks -fobjc-arc
22 // Run the same test with second.h being modular
23 // RUN: cat %t/include/second.modulemap >> %t/include/module.modulemap
51 //--- include/second.modulemap
52 module Second {
53 header "second.h"
58 #if defined(FIRST) || defined(SECOND)
62 #if !defined(FIRST) && !defined(SECOND)
64 # include "second.h"
70 #elif defined(SECOND)
85 #elif defined(SECOND)
97 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found no super class}}
100 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found super class with type 'N…
103 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found super class with type 'D…
116 #elif defined(SECOND)
132 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 0 referenced protocols}}
135 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 1 referenced protocol}}
139 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 1st referenced protocol …
142 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 1st referenced protocol …
168 #elif defined(SECOND)
197 // expected-error@second.h:* {{'CompareIVarPresence1::ivarPresence1' from module 'Second' is not pr…
201 // expected-note@second.h:* {{but in definition here found instance variable}}
205 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found end of class}}
209 // expected-error@second.h:* {{'CompareIVarName::differentIvarName' from module 'Second' is not pre…
213 // expected-note@second.h:* {{but in definition here found field 'differentIvarName'}}
217 // expected-error@second.h:* {{'CompareIVarType::ivarType' from module 'Second' is not present in d…
221 // expected-note@second.h:* {{but in definition here found field 'ivarType' with type 'float'}}
225 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found field 'ivarNameFloat'}}
229 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found instance variable 'ivarV…
232 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found instance variable 'ivarV…
272 #elif defined(SECOND)
313 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found end of class}}
316 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method}}
319 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found different method 'method…
323 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodArgCount:'…
326 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodArgName:' …
329 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodArgType:' …
333 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodReturnType…
337 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found different method 'method…
340 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodClassInsta…
380 #elif defined(SECOND)
421 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found end of class}}
424 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property}}
428 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propNameB'}}
431 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propType' with…
434 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propOrderY'}}
439 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propAttributes…
442 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'firstImplAttri…
445 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'lastImplAttrib…
466 #elif defined(SECOND)
488 // expected-warning@second.h:* {{duplicate definition of category 'Category1' on interface 'Compare…
493 // expected-warning@second.h:* {{duplicate definition of category 'Category2' on interface 'Compare…