[cfe-commits] r167911 - /cfe/trunk/lib/AST/ItaniumMangle.cpp

David Blaikie dblaikie at gmail.com
Tue Nov 13 20:41:34 PST 2012


Author: dblaikie
Date: Tue Nov 13 22:41:34 2012
New Revision: 167911

URL: http://llvm.org/viewvc/llvm-project?rev=167911&view=rev
Log:
Remove debugging assert.

Found by Richard Smith in post-commit review of r167906.

Modified:
    cfe/trunk/lib/AST/ItaniumMangle.cpp

Modified: cfe/trunk/lib/AST/ItaniumMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ItaniumMangle.cpp?rev=167911&r1=167910&r2=167911&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ItaniumMangle.cpp (original)
+++ cfe/trunk/lib/AST/ItaniumMangle.cpp Tue Nov 13 22:41:34 2012
@@ -1127,9 +1127,6 @@
       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);
 





More information about the cfe-commits mailing list