r201436 - Print anonymous namespaces as <anonymous namespace> instead of <anonymous>
David Blaikie
dblaikie at gmail.com
Fri Feb 14 14:22:54 PST 2014
On Fri, Feb 14, 2014 at 2:12 PM, David Blaikie <dblaikie at gmail.com> 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
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140214/2538530d/attachment.html>
More information about the cfe-commits
mailing list