diff options
author | Kazu Hirata <kazu@google.com> | 2025-09-22 07:52:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-22 07:52:58 -0700 |
commit | 9697e4605cb1ca13d3d4b0e0bc91a69652c9a719 (patch) | |
tree | 177789e697f6b6fd85bb0045183c8ed4a071bc4b /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | c0b6ddfe2667307eab699a04c8e23fdc06170e95 (diff) | |
download | llvm-9697e4605cb1ca13d3d4b0e0bc91a69652c9a719.zip llvm-9697e4605cb1ca13d3d4b0e0bc91a69652c9a719.tar.gz llvm-9697e4605cb1ca13d3d4b0e0bc91a69652c9a719.tar.bz2 |
[ADT] Simplify StringRef(const char *) (NFC) (#160038)
This patch delegates the string length computation to
std::string_view. This way, we don't have to worry about old GCC
versions or call __builtin_strlen on our own.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions