aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 5fc86a7759..4973a42819 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1363,6 +1363,9 @@ static void ProcessInputFile(Preprocessor &PP, PreprocessorFactory &PPF,
// files.
if (ClearSourceMgr)
PP.getSourceManager().clearIDTables();
+
+ if (DisableFree)
+ Consumer.take();
}
static void ProcessSerializedFile(const std::string& InFile, Diagnostic& Diag,