diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-01 03:28:10 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-01 03:28:10 +0000 |
commit | bb71b392729b86858ee861b967006a03c07c41f2 (patch) | |
tree | c9b888ffda08f57771c2271732ee8a5172e8dd1d /lib/Driver/Tools.cpp | |
parent | 113cc14e9ccf9c63553cd0803096f3c938052870 (diff) |
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
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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<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."); |