mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 17:28:30 +08:00
Silence a -Wlogical-op-parentheses diagnostic; NFC
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user