[clang-tools-extra] [clang-tidy] Add `bugprone-missing-end-comparison` check (PR #182543)

via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 21 10:14:24 PST 2026


================
@@ -34,6 +34,16 @@ constexpr llvm::StringRef RangeAlgorithms[] = {
     "::std::ranges::max_element",   "::std::ranges::find_first_of",
     "::std::ranges::adjacent_find", "::std::ranges::is_sorted_until"};
 
+AST_MATCHER(DeclStmt, isConditionVariableStatement) {
----------------
zeyi2 wrote:

I will try to improve this later, IMO this might not be ideal..

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


More information about the cfe-commits mailing list