[cfe-commits] r68184 - /cfe/trunk/lib/Driver/Tools.cpp
Daniel Dunbar
daniel at zuster.org
Tue Mar 31 20:28:10 PDT 2009
Author: ddunbar
Date: Tue Mar 31 22:28:10 2009
New Revision: 68184
URL: http://llvm.org/viewvc/llvm-project?rev=68184&view=rev
Log:
Remove a FIXME, use -emit-pth to drive PTH generation.
- c.f. r68164
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=68184&r1=68183&r2=68184&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Mar 31 22:28:10 2009
@@ -55,9 +55,7 @@
else
CmdArgs.push_back("-E");
} else if (isa<PrecompileJobAction>(JA)) {
- // No special option needed, driven by -x.
- //
- // FIXME: Don't drive this by -x, that is gross.
+ CmdArgs.push_back("-emit-pth");
} else {
assert(isa<CompileJobAction>(JA) && "Invalid action for clang tool.");
More information about the cfe-commits
mailing list