================
@@ -261,6 +273,9 @@ void test(std::string s, std::string_view sv, sub_string 
ss, sub_sub_string sss,
 
   #define STRING s
   if (0 == STRING.find("ala")) { /* do something */}
+
+  s.find("aaa", 0, 3) == 0;
+  s.rfind("aaa", std::string::npos, 3) == 0;
----------------
vbvictor wrote:

I added matching of cases where `strlen("aaa") == 3rd_arg`, that now only by 
design TN are not being matched.

https://github.com/llvm/llvm-project/pull/129564
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to