]> granicus.if.org Git - clang/commitdiff
Add /System/Library/PrivateFrameworks as a header search path.
authorDouglas Gregor <dgregor@apple.com>
Thu, 14 Sep 2017 23:38:44 +0000 (23:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 14 Sep 2017 23:38:44 +0000 (23:38 +0000)
Addresses rdar://problem/34438708.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313317 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/InitHeaderSearch.cpp

index 8c6faced76ac0d5f981eddcbe35a109fac0bc426..d0b4e45aa5d4ed19735715534504ff9b48dac156 100644 (file)
@@ -484,6 +484,7 @@ void InitHeaderSearch::AddDefaultIncludePaths(const LangOptions &Lang,
     if (triple.isOSDarwin()) {
       AddPath("/System/Library/Frameworks", System, true);
       AddPath("/Library/Frameworks", System, true);
+      AddPath("/System/Library/PrivateFrameworks", System, true);
     }
   }
 }