projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b807629
)
Delete dead variable.
author
Richard Smith
<richard-llvm@metafoo.co.uk>
Fri, 25 Mar 2016 21:46:44 +0000
(21:46 +0000)
committer
Richard Smith
<richard-llvm@metafoo.co.uk>
Fri, 25 Mar 2016 21:46:44 +0000
(21:46 +0000)
llvm-svn: 264464
clang/lib/Frontend/ASTUnit.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Frontend/ASTUnit.cpp
b/clang/lib/Frontend/ASTUnit.cpp
index
0080fab
..
61e80d5
100644
(file)
--- a/
clang/lib/Frontend/ASTUnit.cpp
+++ b/
clang/lib/Frontend/ASTUnit.cpp
@@
-1138,11
+1138,9
@@
bool ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps,
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;