[cfe-commits] r84329 - /cfe/trunk/lib/CodeGen/CGExprAgg.cpp
Daniel Dunbar
daniel at zuster.org
Sat Oct 17 02:39:31 PDT 2009
Author: ddunbar
Date: Sat Oct 17 04:39:30 2009
New Revision: 84329
URL: http://llvm.org/viewvc/llvm-project?rev=84329&view=rev
Log:
Suppress -Asserts warning.
Modified:
cfe/trunk/lib/CodeGen/CGExprAgg.cpp
Modified: cfe/trunk/lib/CodeGen/CGExprAgg.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprAgg.cpp?rev=84329&r1=84328&r2=84329&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprAgg.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprAgg.cpp Sat Oct 17 04:39:30 2009
@@ -285,6 +285,7 @@
void AggExprEmitter::VisitUnaryAddrOf(const UnaryOperator *E) {
// We have a member function pointer.
const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>();
+ (void) MPT;
assert(MPT->getPointeeType()->isFunctionProtoType() &&
"Unexpected member pointer type!");
More information about the cfe-commits
mailing list