Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 227e640

Browse files
committed
Fix "suggest parentheses" warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265355 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 93e221e commit 227e640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: lib/CodeGen/SwiftCallingConv.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ void SwiftAggLowering::addLegalTypedData(llvm::Type *type,
254254

255255
void SwiftAggLowering::addEntry(llvm::Type *type,
256256
CharUnits begin, CharUnits end) {
257-
assert(!type ||
258-
(!isa<llvm::StructType>(type) && !isa<llvm::ArrayType>(type)) &&
257+
assert((!type ||
258+
(!isa<llvm::StructType>(type) && !isa<llvm::ArrayType>(type))) &&
259259
"cannot add aggregate-typed data");
260260
assert(!type || begin.isMultipleOf(getNaturalAlignment(CGM, type)));
261261

@@ -827,4 +827,4 @@ void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) {
827827
auto &argInfo = FI.arg_begin()[i];
828828
argInfo.info = classifyArgumentType(CGM, argInfo.type);
829829
}
830-
}
830+
}

0 commit comments

Comments
 (0)