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:
f04f98d
)
Removing code that is unused after r231424; NFC.
author
Aaron Ballman
<aaron@aaronballman.com>
Fri, 6 Mar 2015 14:24:53 +0000
(14:24 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Fri, 6 Mar 2015 14:24:53 +0000
(14:24 +0000)
llvm-svn: 231477
clang/lib/Serialization/ASTWriter.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Serialization/ASTWriter.cpp
b/clang/lib/Serialization/ASTWriter.cpp
index
29ed5c3
..
19c7a96
100644
(file)
--- a/
clang/lib/Serialization/ASTWriter.cpp
+++ b/
clang/lib/Serialization/ASTWriter.cpp
@@
-3901,14
+3901,6
@@
void ASTWriter::WriteRedeclarations() {
}
}
- if (!First->isFromASTFile() && Chain) {
- Decl *FirstFromAST = MostRecent;
- for (Decl *Prev = MostRecent; Prev; Prev = Prev->getPreviousDecl()) {
- if (Prev->isFromASTFile())
- FirstFromAST = Prev;
- }
- }
-
LocalRedeclChains[Offset] = Size;
// Reverse the set of local redeclarations, so that we store them in