]> granicus.if.org Git - clang/commitdiff
Print anonymous namespaces as <anonymous namespace> instead of <anonymous>
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 14 Feb 2014 22:12:51 +0000 (22:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 14 Feb 2014 22:12:51 +0000 (22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201436 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/TypePrinter.cpp

index 9c96aee2dffa8ce2e573bad73a214b9edccc3edf..e323cad0a6c765fbd05fca709e808f0b2412141b 100644 (file)
@@ -848,7 +848,7 @@ void TypePrinter::AppendScope(DeclContext *DC, raw_ostream &OS) {
     if (NS->getIdentifier())
       OS << NS->getName() << "::";
     else
-      OS << "<anonymous>::";
+      OS << "<anonymous namespace>::";
   } else if (ClassTemplateSpecializationDecl *Spec
                = dyn_cast<ClassTemplateSpecializationDecl>(DC)) {
     IncludeStrongLifetimeRAII Strong(Policy);