================ @@ -0,0 +1,14 @@ +// RUN: %check_clang_tidy -std=c++23 %s readability-convert-member-functions-to-static %t + +namespace std{ + class string {}; + void println(const char *format, const std::string &str) {} +} + +namespace PR141381 { ---------------- vbvictor wrote:
Nit: don't think that this has any profits for readability/maintainability. AFAIK such namespaces are used for small bug-fixes that are usually placed in big test files, so with such namespaces it's easier to navigate through tests. Your file is completely new, and there is no need for such namespace. https://github.com/llvm/llvm-project/pull/141391 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits