diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-02-14 22:12:51 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-02-14 22:12:51 +0000 |
| commit | 2e66bfc9a1113c46d6a0ef004c713a56af6726c5 (patch) | |
| tree | d412b6caca0c53743f2e2e0d1fa89064ca4a80f8 /clang | |
| parent | 92b1f7e4f974287999f1f6a93ce1c8cc86ac26d9 (diff) | |
| download | bcm5719-llvm-2e66bfc9a1113c46d6a0ef004c713a56af6726c5.tar.gz bcm5719-llvm-2e66bfc9a1113c46d6a0ef004c713a56af6726c5.zip | |
Print anonymous namespaces as <anonymous namespace> instead of <anonymous>
llvm-svn: 201436
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/AST/TypePrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/TypePrinter.cpp b/clang/lib/AST/TypePrinter.cpp index 9c96aee2dff..e323cad0a6c 100644 --- a/clang/lib/AST/TypePrinter.cpp +++ b/clang/lib/AST/TypePrinter.cpp @@ -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); |

