]> granicus.if.org Git - clang/commit
Consistently print anonymous namespace names as "<anonymous namespace>"
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 14 Feb 2014 22:12:54 +0000 (22:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 14 Feb 2014 22:12:54 +0000 (22:12 +0000)
commit09080ab89af611a1557551a7b4e0c6c8c1dfca17
tree7f8040539bf45620264961c3414ac3083a5b68c5
parent2a1598ed4a90e32b0511d56bb92110524b766f67
Consistently print anonymous namespace names as "<anonymous namespace>"

For some reason we have two bits of code handling this printing:

lib/AST/Decl.cpp:        OS << "<anonymous namespace>";
lib/AST/TypePrinter.cpp:      OS << "<anonymous namespace>::";

it would be nice if we only had one...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201437 91177308-0d34-0410-b5e6-96231b3b80d8
test/Modules/namespaces.cpp
test/SemaCXX/undefined-internal.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp