]> granicus.if.org Git - clang/commit
When setting the anonymous namespace at PCH reading, it may still be initializing...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 3 Jul 2010 07:57:53 +0000 (07:57 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 3 Jul 2010 07:57:53 +0000 (07:57 +0000)
commita038c1dcface5a404d540a0d0688962cbe656af9
tree67dab9b1c1459092dfcd7231f1681efebf428b6f
parent1139da148e44193a71585f418be96ef9c5f6defa
When setting the anonymous namespace at PCH reading, it may still be initializing so avoid
the invariant checks at NamespaceDecl::setAnonymousNamespace().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107566 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/Frontend/PCHReaderDecl.cpp
test/PCH/cxx-namespaces.cpp [new file with mode: 0644]
test/PCH/cxx-namespaces.h [new file with mode: 0644]