]> granicus.if.org Git - clang/commitdiff
Remove a FIXME, use -emit-pth to drive PTH generation.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 1 Apr 2009 03:28:10 +0000 (03:28 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 1 Apr 2009 03:28:10 +0000 (03:28 +0000)
 -  c.f. r68164

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68184 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 4392f4f67083b81d02b6e57775b313cc9718fd72..3e1eb886c903860e6b071c8c160c9a3722fff10e 100644 (file)
@@ -55,9 +55,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     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.");