[cfe-commits] r70318 - /cfe/trunk/lib/Driver/Tools.cpp
Daniel Dunbar
daniel at zuster.org
Tue Apr 28 12:38:47 PDT 2009
Author: ddunbar
Date: Tue Apr 28 14:38:45 2009
New Revision: 70318
URL: http://llvm.org/viewvc/llvm-project?rev=70318&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=70318&r1=70317&r2=70318&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Apr 28 14:38:45 2009
@@ -138,7 +138,7 @@
if (FoundPCH || FoundPTH) {
A->claim();
- if (FoundPCH)
+ if (D.CCCUsePCH)
CmdArgs.push_back("-include-pch");
else
CmdArgs.push_back("-include-pth");
More information about the cfe-commits
mailing list