diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-11-02 10:50:26 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2018-11-02 10:50:26 +0000 |
commit | dfc56b43fadf5c4f84cdb8706f29ccf1ba68e5f1 (patch) | |
tree | 0bd6f725005d90565af782110bcfd14491692502 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 7d1b77df57fb6a14d2ef15f0e9123650ccee0cc4 (diff) | |
download | bcm5719-llvm-dfc56b43fadf5c4f84cdb8706f29ccf1ba68e5f1.tar.gz bcm5719-llvm-dfc56b43fadf5c4f84cdb8706f29ccf1ba68e5f1.zip |
Revert "Fix regression in behavior of clang -x c++-header -fmodule-name=XXX"
This reverts commit r345803 and r345915 (a follow-up fix to r345803).
Reason: r345803 blocks our internal integrate because of the new
warnings showing up in too many places. The fix is actually correct,
we will reland it after figuring out how to integrate properly.
llvm-svn: 345963
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 719474dc765..a9c51d49f65 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -372,9 +372,6 @@ static void InitializeFileRemapping(DiagnosticsEngine &Diags, void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) { const PreprocessorOptions &PPOpts = getPreprocessorOpts(); - // The module manager holds a reference to the old preprocessor (if any). - ModuleManager.reset(); - // Create a PTH manager if we are using some form of a token cache. PTHManager *PTHMgr = nullptr; if (!PPOpts.TokenCache.empty()) |