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
55 //--- include/second.modulemap
56 module Second {
57 header "second.h"
62 #if defined(FIRST) || defined(SECOND)
66 #if !defined(FIRST) && !defined(SECOND)
68 # include "second.h"
74 #elif defined(SECOND)
92 #elif defined(SECOND)
109 // expected-note@second.h:* {{but in 'Second' found 0 referenced protocols}}
111 // expected-note@second.h:* {{but in definition here found 0 referenced protocols}}
115 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 1 referenced protocol}}
119 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 1st referenced protocol …
122 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 1st referenced protocol …
171 #elif defined(SECOND)
221 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found end of class}}
224 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method}}
227 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found different method 'method…
231 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodArgCount:'…
234 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodArgName:' …
237 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodArgType:' …
241 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodReturnType…
245 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found different method 'method…
248 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found method 'methodClassInsta…
252 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found 'required' method contro…
294 #elif defined(SECOND)
335 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found end of class}}
338 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property}}
341 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propNameB'}}
344 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propType' with…
347 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propOrderY'}}
352 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'propAttributes…
355 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'firstImplAttri…
358 // expected-note-re@second.h:* {{but in {{'Second'|definition here}} found property 'lastImplAttrib…