From c23a6dcb6660bc29134121018fcb197cc8b8b68b Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 27 Jan 2021 15:37:11 -0500 Subject: [PATCH] Silence a -Wlogical-op-parentheses diagnostic; NFC --- clang/include/clang/Parse/Parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h index 23a42f7..61996f0 100644 --- a/clang/include/clang/Parse/Parser.h +++ b/clang/include/clang/Parse/Parser.h @@ -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; } -- 2.7.4