================
@@ -0,0 +1,64 @@
+// RUN: %check_clang_tidy %s bugprone-string-constructor %t -- \
+// RUN:   -config="{CheckOptions: { \
+// RUN:     bugprone-string-constructor.WarnOnLargeLength: true, \
+// RUN:     bugprone-string-constructor.LargeLengthThreshold: 10, \
+// RUN:     bugprone-string-constructor.StringNames: 
'::std::basic_string;::std::basic_string_view;::custom::String' \
+// RUN:   }}"
+
+namespace std {
----------------
vbvictor wrote:

Could we `#include <string>` ?

https://github.com/llvm/llvm-project/pull/184015
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to