From: David Blaikie Date: Wed, 14 Nov 2012 04:41:34 +0000 (+0000) Subject: Remove debugging assert. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08db94f58e50263eb98ba1a05e967520e8e7f895;p=clang Remove debugging assert. 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 --- diff --git a/lib/AST/ItaniumMangle.cpp b/lib/AST/ItaniumMangle.cpp index fc61d88bd9..7509d96a25 100644 --- a/lib/AST/ItaniumMangle.cpp +++ b/lib/AST/ItaniumMangle.cpp @@ -1127,9 +1127,6 @@ void CXXNameMangler::mangleUnqualifiedName(const NamedDecl *ND, break; } - //assert(cast(RD)->isAnonymousStructOrUnion() && "Don't mangle unnamed things as " - // "anonymous things"); - // Get a unique id for the anonymous struct. uint64_t AnonStructId = Context.getAnonymousStructId(TD);