From: Aaron Ballman Date: Tue, 7 Jul 2015 13:25:57 +0000 (+0000) Subject: Silence -Wparentheses warnings (and ran it through clang-format); NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b85d5c49af5c6fdec6ad2a8bfe435523bdb15ca3;p=clang Silence -Wparentheses warnings (and ran it through clang-format); NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241582 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index a1412bcee6..478948b1a1 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -2985,15 +2985,16 @@ public: E = CallArgTypeInfo->param_type_end(); I != E; ++I, ++Arg) { assert(Arg != ArgEnd && "Running over edge of argument list!"); - assert( - isGenericMethod || - ((*I)->isVariablyModifiedType() || - (*I).getNonReferenceType()->isObjCRetainableType() || - getContext() - .getCanonicalType((*I).getNonReferenceType()) - .getTypePtr() == - getContext().getCanonicalType(Arg->getType()).getTypePtr()) && - "type mismatch in call argument!"); + assert((isGenericMethod || + ((*I)->isVariablyModifiedType() || + (*I).getNonReferenceType()->isObjCRetainableType() || + getContext() + .getCanonicalType((*I).getNonReferenceType()) + .getTypePtr() == + getContext() + .getCanonicalType(Arg->getType()) + .getTypePtr())) && + "type mismatch in call argument!"); ArgTypes.push_back(*I); } }