зеркало из https://github.com/microsoft/clang-1.git
Only introduce the SDKSettings.plist dependency in modules/PCH files that don't depend on any other modules or PCH files.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177542 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
63fd408a61
Коммит
2bf383d6f5
|
@ -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)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче