Silence a -Wlogical-op-parentheses diagnostic; NFC

This commit is contained in:
Aaron Ballman
2021-01-27 15:37:11 -05:00
parent ba379fe527
commit c23a6dcb66

View File

@@ -2694,7 +2694,7 @@ private:
SourceLocation *End = nullptr,
LateParsedAttrList *LateAttrs = nullptr) {
if (Tok.isOneOf(tok::kw___attribute, tok::kw___declspec) ||
standardAttributesAllowed() && isCXX11AttributeSpecifier()) {
(standardAttributesAllowed() && isCXX11AttributeSpecifier())) {
ParseAttributes(WhichAttrKinds, Attrs, End, LateAttrs);
return true;
}
@@ -2704,7 +2704,7 @@ private:
SourceLocation *End = nullptr,
LateParsedAttrList *LateAttrs = nullptr) {
if (Tok.isOneOf(tok::kw___attribute, tok::kw___declspec) ||
standardAttributesAllowed() && isCXX11AttributeSpecifier()) {
(standardAttributesAllowed() && isCXX11AttributeSpecifier())) {
ParseAttributes(WhichAttrKinds, Attrs, End, LateAttrs);
return true;
}