Skip to content

Conversation

@nbriggs
Copy link
Collaborator

@nbriggs nbriggs commented Mar 18, 2021

Cleanup for warning [bugprone-macro-parentheses]

... except where the expansion would be syntactically invalid, for example "goto macroarg;" which seems to be an overreaction by clang-tidy

@nbriggs nbriggs marked this pull request as draft March 18, 2021 22:04
…acro-parentheses]

Except where the expansion would be syntactically invalid,
for example "goto macroarg;" detection of which is a bug in clang-tidy,
so warn it off with a NOLINT...(bugprone-macro-parentheses)
@nbriggs nbriggs force-pushed the bugprone-macro-parentheses branch from c9da3fe to 7d23e6b Compare March 18, 2021 23:51
@nbriggs nbriggs marked this pull request as ready for review March 20, 2021 04:58
@nbriggs nbriggs merged commit 36ccd9a into master Mar 20, 2021
@nbriggs nbriggs deleted the bugprone-macro-parentheses branch April 8, 2021 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants