forked from OSchip/llvm-project
With -ccc-pch-is-pch, always treat precompiled inputs as PCH,
regardless of extension. - Otherwise we can't expect that just plugging in -ccc-pch-is-pch will work. llvm-svn: 70318
This commit is contained in:
parent
a38da57cd6
commit
fb83baaf76
|
@ -138,7 +138,7 @@ void Clang::AddPreprocessingOptions(const Driver &D,
|
|||
|
||||
if (FoundPCH || FoundPTH) {
|
||||
A->claim();
|
||||
if (FoundPCH)
|
||||
if (D.CCCUsePCH)
|
||||
CmdArgs.push_back("-include-pch");
|
||||
else
|
||||
CmdArgs.push_back("-include-pth");
|
||||
|
|
Loading…
Reference in New Issue