zwuis wrote: > I prefer "misc-use-string-view" because there is not only one reason to use > it. > > - Doesn't copy underlying string. > - Cheap to copy. > - Can take both `std::string` and string literals (`"str"`).
FYI someone suggested "modernize-use-span". #156058 https://github.com/llvm/llvm-project/pull/172170 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
