Skip to content

Commit 765d7e7

Browse files
committed
[IR] Fix '-Wparentheses' warnings. NFC
1 parent 5083885 commit 765d7e7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/IR/Attributes.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -772,11 +772,11 @@ bool Attribute::canUseAsRetAttr(AttrKind Kind) {
772772

773773
static bool hasIntersectProperty(Attribute::AttrKind Kind,
774774
AttributeProperty Prop) {
775-
assert(Prop == AttributeProperty::IntersectPreserve ||
776-
Prop == AttributeProperty::IntersectAnd ||
777-
Prop == AttributeProperty::IntersectMin ||
778-
Prop == AttributeProperty::IntersectCustom &&
779-
"Unknown intersect property");
775+
assert((Prop == AttributeProperty::IntersectPreserve ||
776+
Prop == AttributeProperty::IntersectAnd ||
777+
Prop == AttributeProperty::IntersectMin ||
778+
Prop == AttributeProperty::IntersectCustom) &&
779+
"Unknown intersect property");
780780
return (getAttributeProperties(Kind) &
781781
AttributeProperty::IntersectPropertyMask) == Prop;
782782
}

0 commit comments

Comments
 (0)