Skip to content

Commit a40a4c5

Browse files
committed
[MC] MCSectionGOFF.h - fix GCC Wparentheses operator precedence warning around assert message. NFC.
1 parent ec62dee commit a40a4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/MC/MCSectionGOFF.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class MCSectionGOFF final : public MCSection {
110110

111111
// Returns the text style for a section. Only defined for ED and PR sections.
112112
GOFF::ESDTextStyle getTextStyle() const {
113-
assert(isED() || isPR() || isVirtualSection() && "Expect ED or PR section");
113+
assert((isED() || isPR() || isVirtualSection()) && "Expect ED or PR section");
114114
if (isED())
115115
return EDAttributes.TextStyle;
116116
if (isPR())

0 commit comments

Comments
 (0)