[clang-tools-extra] [clang-tidy] Fix bugprone-macro-parentheses false positive for _Generic (PR #216237)

via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 23 20:53:44 PDT 2026


================
@@ -198,16 +176,15 @@ infrastructure are described first, followed by tool-specific sections.
   exclusively for overload resolution. Added the {option}`IgnoredTypes`
   option to allow customizing the set of ignored types.
 
-- Improved {doc}`readability-trailing-comma
-  <clang-tidy/checks/readability/trailing-comma>` check by fixing false
-  positives on designated initializers, where initializer lists synthesized
-  for intermediate subobjects caused the trailing comma of the enclosing
-  list to be incorrectly rewritten.
-
 - Improved {doc}`readability-use-std-min-max
   <clang-tidy/checks/readability/use-std-min-max>` check by fixing spurious
   trailing semicolons and lost comments when the `if` body has no braces.
 
+- Improved {doc}`bugprone-macro-parentheses
----------------
EugeneZelenko wrote:

Please keep alphabetical order (by check name).

https://github.com/llvm/llvm-project/pull/216237


More information about the cfe-commits mailing list