diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 09:01:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 09:01:31 +0000 |
commit | 681c74afe6a81161aa13291c6c114e5240b23865 (patch) | |
tree | 5754ec1abaee9d0db92461949f43acb2aa8e36e9 /lib/Frontend/CompilerInstance.cpp | |
parent | b088cd3138b1fdb286c51e982ddda1e8af9d7e86 (diff) |
don't allow remapping PTH file paths with -fworking-directory, the
client should just pass in absolute paths.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 125f271a62..7f3eb21bb8 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -180,7 +180,7 @@ CompilerInstance::createPreprocessor(Diagnostic &Diags, // Create a PTH manager if we are using some form of a token cache. PTHManager *PTHMgr = 0; if (!PPOpts.TokenCache.empty()) - PTHMgr = PTHManager::Create(PPOpts.TokenCache, FileMgr, Diags); + PTHMgr = PTHManager::Create(PPOpts.TokenCache, Diags); // Create the Preprocessor. HeaderSearch *HeaderInfo = new HeaderSearch(FileMgr); |