diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-07-07 13:25:57 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-07-07 13:25:57 +0000 |
commit | 7c04eae204867d136468f24339912827d773f1ca (patch) | |
tree | ba97dfa649cd6d8a212874118b1ed3ff600c335d /clang/lib/CodeGen/CodeGenFunction.h | |
parent | a0ea996da48b27769070aab334d7af34d8b0e327 (diff) | |
download | llvm-7c04eae204867d136468f24339912827d773f1ca.zip llvm-7c04eae204867d136468f24339912827d773f1ca.tar.gz llvm-7c04eae204867d136468f24339912827d773f1ca.tar.bz2 |
Silence -Wparentheses warnings (and ran it through clang-format); NFC.
llvm-svn: 241582
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index a1412bc..478948b 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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); } } |