From b4fd6a61414b7c379178b6d79e7e422d2a148d34 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 26 Jun 2017 20:15:21 +0000 Subject: Remove some redundant setup when preprocessing .pcm files. Both of these steps are immediately overwritten by the FrontendAction setup. llvm-svn: 306325 --- clang/lib/Frontend/FrontendAction.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/Frontend') diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp index 7c0b854648b..f81a06b3186 100644 --- a/clang/lib/Frontend/FrontendAction.cpp +++ b/clang/lib/Frontend/FrontendAction.cpp @@ -561,7 +561,6 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI, CI.setFileManager(&AST->getFileManager()); CI.createSourceManager(CI.getFileManager()); CI.getSourceManager().initializeForReplay(AST->getSourceManager()); - CI.createPreprocessor(getTranslationUnitKind()); // Set up the input file for replay purposes. auto Kind = AST->getInputKind(); -- cgit v1.2.3