[clang-tools-extra] [clang-tidy] Use --match-full-lines instead of --strict-whitespace in check_clang_tidy (PR #133756)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 31 12:09:25 PDT 2025


================
@@ -172,7 +172,7 @@ void test(std::string s, std::string_view sv, sub_string ss, sub_sub_string sss,
 
   0 != s.compare(0, sv.length(), sv);
   // CHECK-MESSAGES: :[[@LINE-1]]:{{[0-9]+}}: warning: use starts_with
-  // CHECK-FIXES: s.starts_with(sv);
+  // CHECK-FIXES: !s.starts_with(sv);
----------------
carlosgalvezp wrote:

Nice!

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


More information about the cfe-commits mailing list