projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b1f7e
)
Print anonymous namespaces as <anonymous namespace> instead of <anonymous>
author
David Blaikie
<dblaikie@gmail.com>
Fri, 14 Feb 2014 22:12:51 +0000
(22:12 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Fri, 14 Feb 2014 22:12:51 +0000
(22:12 +0000)
llvm-svn: 201436
clang/lib/AST/TypePrinter.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/TypePrinter.cpp
b/clang/lib/AST/TypePrinter.cpp
index
9c96aee
..
e323cad
100644
(file)
--- 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);