On Fri, Feb 14, 2014 at 2:12 PM, David Blaikie <[email protected]> wrote:

> Author: dblaikie
> Date: Fri Feb 14 16:12:51 2014
> New Revision: 201436
>
> URL: http://llvm.org/viewvc/llvm-project?rev=201436&view=rev
> Log:
> Print anonymous namespaces as <anonymous namespace> instead of <anonymous>
>

Test case updates in the next commit (r201436) - forgot to squash before
upstreaming.


>
> Modified:
>     cfe/trunk/lib/AST/TypePrinter.cpp
>
> Modified: cfe/trunk/lib/AST/TypePrinter.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TypePrinter.cpp?rev=201436&r1=201435&r2=201436&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/AST/TypePrinter.cpp (original)
> +++ cfe/trunk/lib/AST/TypePrinter.cpp Fri Feb 14 16:12:51 2014
> @@ -848,7 +848,7 @@ void TypePrinter::AppendScope(DeclContex
>      if (NS->getIdentifier())
>        OS << NS->getName() << "::";
>      else
> -      OS << "<anonymous>::";
> +      OS << "<anonymous namespace>::";
>    } else if (ClassTemplateSpecializationDecl *Spec
>                 = dyn_cast<ClassTemplateSpecializationDecl>(DC)) {
>      IncludeStrongLifetimeRAII Strong(Policy);
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to