r264464 - Delete dead variable.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 25 14:46:44 PDT 2016
Author: rsmith
Date: Fri Mar 25 16:46:44 2016
New Revision: 264464
URL: http://llvm.org/viewvc/llvm-project?rev=264464&view=rev
Log:
Delete dead variable.
Modified:
cfe/trunk/lib/Frontend/ASTUnit.cpp
Modified: cfe/trunk/lib/Frontend/ASTUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ASTUnit.cpp?rev=264464&r1=264463&r2=264464&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/ASTUnit.cpp (original)
+++ cfe/trunk/lib/Frontend/ASTUnit.cpp Fri Mar 25 16:46:44 2016
@@ -1138,11 +1138,9 @@ bool ASTUnit::Parse(std::shared_ptr<PCHC
if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0]))
goto error;
- if (SavedMainFileBuffer) {
- std::string ModName = getPreambleFile(this);
+ if (SavedMainFileBuffer)
TranslateStoredDiagnostics(getFileManager(), getSourceManager(),
PreambleDiagnostics, StoredDiagnostics);
- }
if (!Act->Execute())
goto error;
More information about the cfe-commits
mailing list