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:
d525d07
)
Remove debugging assert.
author
David Blaikie
<dblaikie@gmail.com>
Wed, 14 Nov 2012 04:41:34 +0000
(
04:41
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Wed, 14 Nov 2012 04:41:34 +0000
(
04:41
+0000)
Found by Richard Smith in post-commit review of r167906.
llvm-svn: 167911
clang/lib/AST/ItaniumMangle.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/ItaniumMangle.cpp
b/clang/lib/AST/ItaniumMangle.cpp
index
fc61d88
..
7509d96
100644
(file)
--- a/
clang/lib/AST/ItaniumMangle.cpp
+++ b/
clang/lib/AST/ItaniumMangle.cpp
@@
-1127,9
+1127,6
@@
void CXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND,
break;
}
- //assert(cast<RecordDecl>(RD)->isAnonymousStructOrUnion() && "Don't mangle unnamed things as "
- // "anonymous things");
-
// Get a unique id for the anonymous struct.
uint64_t AnonStructId = Context.getAnonymousStructId(TD);