File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1072,7 +1072,7 @@ void InitHeaderSearch::Realize(const LangOptions &Lang) {
1072
1072
it != ie; ++it) {
1073
1073
if (it->first == System ||
1074
1074
(!Lang.ObjC1 && !Lang.CPlusPlus && it->first == CSystem) ||
1075
- (!Lang.ObjC1 && Lang.CPlusPlus && it->first == CXXSystem) ||
1075
+ (/* FIXME !Lang.ObjC1 && */ Lang.CPlusPlus && it->first == CXXSystem) ||
1076
1076
(Lang.ObjC1 && !Lang.CPlusPlus && it->first == ObjCSystem) ||
1077
1077
(Lang.ObjC1 && Lang.CPlusPlus && it->first == ObjCXXSystem))
1078
1078
SearchList.push_back (it->second );
Original file line number Diff line number Diff line change 12
12
// C_INCLUDE_PATH: test2
13
13
// C_INCLUDE_PATH-NOT: test1
14
14
15
- // RUN: env OBJC_INCLUDE_PATH=%T/test1 OBJCPLUS_INCLUDE_PATH=%T/test2 CPLUS_INCLUDE_PATH=%T/test1 C_INCLUDE_PATH=%T/test1 %clang -x objective-c++ -E -v %s 2>&1 | FileCheck %s -check-prefix=OBJCPLUS_INCLUDE_PATH
16
- // OBJCPLUS_INCLUDE_PATH: -c-isystem {{.*}}/test1 -cxx-isystem {{.*}}/test1 -objc-isystem {{.*}}/test1 -objcxx-isystem {{.*}}/test2
15
+ // RUN: env OBJC_INCLUDE_PATH=%T/test1 OBJCPLUS_INCLUDE_PATH=%T/test2 CPLUS_INCLUDE_PATH=%T/test2 C_INCLUDE_PATH=%T/test1 %clang -x objective-c++ -E -v %s 2>&1 | FileCheck %s -check-prefix=OBJCPLUS_INCLUDE_PATH
16
+ // OBJCPLUS_INCLUDE_PATH: -c-isystem {{.*}}/test1 -cxx-isystem {{.*}}/test2 -objc-isystem {{.*}}/test1 -objcxx-isystem {{.*}}/test2
17
17
// OBJCPLUS_INCLUDE_PATH: search starts here
18
18
// OBJCPLUS_INCLUDE_PATH-NOT: test1
19
19
// OBJCPLUS_INCLUDE_PATH: test2
You can’t perform that action at this time.
0 commit comments