]> granicus.if.org Git - clang/commit
Remove a bogus assertion from the AST reader, which assumed that
authorDouglas Gregor <dgregor@apple.com>
Thu, 25 Aug 2011 15:28:26 +0000 (15:28 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 25 Aug 2011 15:28:26 +0000 (15:28 +0000)
commit1b59e9c3e1780567e30e5ead2b3512f0aa21fcb6
tree58412434f00244f6c723c5552d35c7f548df4836
parent3d15ab8d0822637ff5e39594c4f34172241cad2e
Remove a bogus assertion from the AST reader, which assumed that
redeclarations of a particular entity would occur in source
order. Friend declarations that occur within class templates (or
member classes thereof) do not follow this, nor would modules. Big
thanks to Erik Verbruggen for reducing this problem from the Very
Large Qt preamble testcase he found.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138557 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
test/PCH/chain-friend-instantiation.cpp [new file with mode: 0644]