From 1d4172c52be01552d6d0f440a06d9b6c96bcc73c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 17 Oct 2009 09:39:30 +0000 Subject: Suppress -Asserts warning. llvm-svn: 84329 --- clang/lib/CodeGen/CGExprAgg.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib') diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index 0866ff893c4..01f719386c7 100644 --- a/clang/lib/CodeGen/CGExprAgg.cpp +++ b/clang/lib/CodeGen/CGExprAgg.cpp @@ -285,6 +285,7 @@ void AggExprEmitter::VisitBinComma(const BinaryOperator *E) { void AggExprEmitter::VisitUnaryAddrOf(const UnaryOperator *E) { // We have a member function pointer. const MemberPointerType *MPT = E->getType()->getAs(); + (void) MPT; assert(MPT->getPointeeType()->isFunctionProtoType() && "Unexpected member pointer type!"); -- cgit v1.2.3