projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0175461
)
Only introduce the SDKSettings.plist dependency in modules/PCH files that don't depen...
author
Douglas Gregor
<dgregor@apple.com>
Wed, 20 Mar 2013 16:59:53 +0000
(16:59 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Wed, 20 Mar 2013 16:59:53 +0000
(16:59 +0000)
llvm-svn: 177542
clang/lib/Serialization/ASTWriter.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Serialization/ASTWriter.cpp
b/clang/lib/Serialization/ASTWriter.cpp
index
08e8afd
..
de5e6e0
100644
(file)
--- a/
clang/lib/Serialization/ASTWriter.cpp
+++ b/
clang/lib/Serialization/ASTWriter.cpp
@@
-1277,7
+1277,7
@@
void ASTWriter::WriteInputFiles(SourceManager &SourceMgr,
// detecting whether the system headers may have changed, because it is too
// expensive to stat() all of the system headers.
FileManager &FileMgr = SourceMgr.getFileManager();
- if (!HSOpts.Sysroot.empty()) {
+ if (!HSOpts.Sysroot.empty()
&& !Chain
) {
llvm::SmallString<128> SDKSettingsFileName(HSOpts.Sysroot);
llvm::sys::path::append(SDKSettingsFileName, "SDKSettings.plist");
if (const FileEntry *SDKSettingsFile = FileMgr.getFile(SDKSettingsFileName)) {