]> granicus.if.org Git - clang/commitdiff
Remove debugging assert.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 14 Nov 2012 04:41:34 +0000 (04:41 +0000)
committerDavid 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167911 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ItaniumMangle.cpp

index fc61d88bd9fca73a60bc76fcc342c045831646cb..7509d96a252e545139265b81af9c1dd8d5058978 100644 (file)
@@ -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);