Removing code that is unused after r231424; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 6 Mar 2015 14:24:53 +0000 (14:24 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 6 Mar 2015 14:24:53 +0000 (14:24 +0000)
llvm-svn: 231477

clang/lib/Serialization/ASTWriter.cpp

index 29ed5c3..19c7a96 100644 (file)
@@ -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