From: Daniel Dunbar Date: Wed, 1 Apr 2009 03:28:10 +0000 (+0000) Subject: Remove a FIXME, use -emit-pth to drive PTH generation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb71b392729b86858ee861b967006a03c07c41f2;p=clang Remove a FIXME, use -emit-pth to drive PTH generation. - c.f. r68164 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68184 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 4392f4f670..3e1eb886c9 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -55,9 +55,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, else CmdArgs.push_back("-E"); } else if (isa(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(JA) && "Invalid action for clang tool.");