]> granicus.if.org Git - clang/commitdiff
Silence -Wparentheses warnings (and ran it through clang-format); NFC.
authorAaron Ballman <aaron@aaronballman.com>
Tue, 7 Jul 2015 13:25:57 +0000 (13:25 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 7 Jul 2015 13:25:57 +0000 (13:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241582 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenFunction.h

index a1412bcee67efb66d52fe4fb047ad37eb11db345..478948b1a173993e1b648c26a1cb996f14d58e41 100644 (file)
@@ -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);
       }
     }