From 227e6401019ddac5266d760208b706afb45e77da Mon Sep 17 00:00:00 2001 From: James Y Knight Date: Mon, 4 Apr 2016 22:35:56 +0000 Subject: [PATCH] Fix "suggest parentheses" warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265355 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SwiftCallingConv.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CodeGen/SwiftCallingConv.cpp b/lib/CodeGen/SwiftCallingConv.cpp index 44b46f62f8..ffb305f931 100644 --- a/lib/CodeGen/SwiftCallingConv.cpp +++ b/lib/CodeGen/SwiftCallingConv.cpp @@ -254,8 +254,8 @@ void SwiftAggLowering::addLegalTypedData(llvm::Type *type, void SwiftAggLowering::addEntry(llvm::Type *type, CharUnits begin, CharUnits end) { - assert(!type || - (!isa(type) && !isa(type)) && + assert((!type || + (!isa(type) && !isa(type))) && "cannot add aggregate-typed data"); assert(!type || begin.isMultipleOf(getNaturalAlignment(CGM, type))); @@ -827,4 +827,4 @@ void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { auto &argInfo = FI.arg_begin()[i]; argInfo.info = classifyArgumentType(CGM, argInfo.type); } -} \ No newline at end of file +} -- 2.40.0