commit | 38c3bb40c2cef630c236f3f455ea98999990b8ee | [log] [tgz] |
---|---|---|
author | Axel Naumann <Axel.Naumann@cern.ch> | Tue Oct 02 12:18:46 2012 +0000 |
committer | Axel Naumann <Axel.Naumann@cern.ch> | Tue Oct 02 12:18:46 2012 +0000 |
tree | ba0f098cca52ab8cbffdd81f342fc5c85442294f | |
parent | f88cd53676b1a2bf40a37d0ad23d81afa9f85544 [diff] [blame] |
Only those InterestingDecls that got added to the AST should be passed to the ASTConsumer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165001 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index a897d86..c5153b5 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp
@@ -6509,4 +6509,5 @@ J != F; ++J) delete J->first; } + assert(RedeclsAddedToAST.empty() && "RedeclsAddedToAST not empty!"); }