[clang-tools-extra] [clang-tidy] Add new check 'readability-inconsistent-ifelse-braces' (PR #162361)

Davide Cunial via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 30 07:57:55 PST 2025


================
@@ -0,0 +1,122 @@
+// RUN: %check_clang_tidy -std=c++98-or-later %s bugprone-inconsistent-ifelse-braces %t
----------------
capitan-davide wrote:

> Please add tests with macros

Added some tests with macros and update diagnostic message

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


More information about the cfe-commits mailing list