]> granicus.if.org Git - clang/commit
Fix r165005: The lexical DeclContext is not the right place to make a decision about...
authorAxel Naumann <Axel.Naumann@cern.ch>
Thu, 4 Oct 2012 07:34:43 +0000 (07:34 +0000)
committerAxel Naumann <Axel.Naumann@cern.ch>
Thu, 4 Oct 2012 07:34:43 +0000 (07:34 +0000)
commit351dbbea9820c79fcc38ed9fe93613ccb839a17f
tree085a1fe0a40558722fc3fd460d8879796a2c039b
parentacf0bb4f49059e444dbedeef8188c9bfb6ead8c4
Fix r165005: The lexical DeclContext is not the right place to make a decision about whether we need to call tryAddTopLevelDecl or not. That call should be made when the DeclContext's redeclaration context is the translation unit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp