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
___
cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Nicolas van Kempen (nicovank)
Changes
Run `modernize-use-starts-ends-with` on llvm-project. Two instances are
flagged, minor readability improvements, extremely minor performance
improvements.
```
python3
llvmbot wrote:
@llvm/pr-subscribers-llvm-support
Author: Nicolas van Kempen (nicovank)
Changes
Run `modernize-use-starts-ends-with` on llvm-project. Two instances are
flagged, minor readability improvements, extremely minor performance
improvements.
```
python3
https://github.com/nicovank created
https://github.com/llvm/llvm-project/pull/89140
Run `modernize-use-starts-ends-with` on llvm-project. Two instances are
flagged, minor readability improvements, extremely minor performance
improvements.
```
python3