summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-17 09:39:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-17 09:39:30 +0000
commit1d4172c52be01552d6d0f440a06d9b6c96bcc73c (patch)
tree13504cd16796140054c7e2b936ebfd37313856ca
parent19a203965f4126143904e6fff6ddd1b37cbd28e6 (diff)
downloadbcm5719-llvm-1d4172c52be01552d6d0f440a06d9b6c96bcc73c.tar.gz
bcm5719-llvm-1d4172c52be01552d6d0f440a06d9b6c96bcc73c.zip
Suppress -Asserts warning.
llvm-svn: 84329
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp1
1 files changed, 1 insertions, 0 deletions
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<MemberPointerType>();
+ (void) MPT;
assert(MPT->getPointeeType()->isFunctionProtoType() &&
"Unexpected member pointer type!");
OpenPOWER on IntegriCloud