aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-07-07 13:25:57 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-07-07 13:25:57 +0000
commit7c04eae204867d136468f24339912827d773f1ca (patch)
treeba97dfa649cd6d8a212874118b1ed3ff600c335d /clang/lib/CodeGen/CodeGenFunction.h
parenta0ea996da48b27769070aab334d7af34d8b0e327 (diff)
downloadllvm-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.h19
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);
}
}