[clang-tools-extra] [clang-tidy] Ignore label-like statements when checking if/else bodies (PR #202869)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 11 04:53:40 PDT 2026
================
@@ -0,0 +1,126 @@
+// RUN: %check_clang_tidy -std=c++98-or-later %s readability-inconsistent-ifelse-braces %t
----------------
vbvictor wrote:
I haven't worked with them so I can't really answer for them, but generally extension means that it works in previous standarts as well, but only in clang (since this is a clang extension).
If you have a decent AI agent (everyone should have at this point I guess) - you can ask it, they can operate on code search pretty successful.
And there is also free https://deepwiki.com/, here is your question: [link](https://deepwiki.com/search/im-just-curious-if-my-understa_ab92a48e-e4ce-4b88-9efe-51a91c9898a1?mode=deep)
https://github.com/llvm/llvm-project/pull/202869
More information about the cfe-commits
mailing list