[clang-tools-extra] [clang-tidy] Ignore label-like statements when checking if/else bodies (PR #202869)

Gaurav Dhingra via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 10 01:48:08 PDT 2026


================
@@ -0,0 +1,126 @@
+// RUN: %check_clang_tidy -std=c++98-or-later %s readability-inconsistent-ifelse-braces %t
----------------
gxyd wrote:

Also, I'm curious how the CI is passing on this PR when attributes like `likely / unlikely` are supported with c++20-or-later?

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


More information about the cfe-commits mailing list