[clang-tools-extra] [llvm] Apply modernize-use-starts-ends-with on llvm-project (PR #89140)
Nicolas van Kempen via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 17:21:03 PDT 2024
nicovank wrote:
`std::string::starts_with` is only available from C++20, and LLVM is limited to C++17 as far as I know. However, the two objects here are `StringRef` so this is safe.
https://github.com/llvm/llvm-project/pull/89140
More information about the llvm-commits
mailing list