diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-17 09:39:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-17 09:39:30 +0000 |
commit | babac13bb332974c8bb800b1a9714bcdf5afefcc (patch) | |
tree | 086effe333b01a0560253dcb0ca7c215b62da830 /lib/CodeGen/CGExprAgg.cpp | |
parent | 67f594c0a0f285df815fe8eb64c59d4c23f99949 (diff) |
Suppress -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
-rw-r--r-- | lib/CodeGen/CGExprAgg.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index 0866ff893c..01f719386c 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/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!"); |