diff options
author | Mike Crowe <mac@mcrowe.com> | 2023-03-12 13:32:29 +0000 |
---|---|---|
committer | Piotr Zegar <piotr.zegar@nokia.com> | 2023-03-12 13:32:29 +0000 |
commit | 0a93abd9765809bb13cfdb43794bf17e9ad5e137 (patch) | |
tree | 8320ae27804c879bc1fa3cc45555d8cf46b26e68 /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | |
parent | f9dc14cf1f7eadffa7b11b86aaeaee5af26a21c0 (diff) | |
download | llvm-0a93abd9765809bb13cfdb43794bf17e9ad5e137.zip llvm-0a93abd9765809bb13cfdb43794bf17e9ad5e137.tar.gz llvm-0a93abd9765809bb13cfdb43794bf17e9ad5e137.tar.bz2 |
[clang-tidy] Make readability-container-size-empty check using <string> header
Improve the generic <string> header by adding the size() method so that
it can be used to replace the custom implementation in the
readability-container-size-empty check.
This requires fixing an incorrect comparison of a std::wstring with a
char string literal.
Unfortunately, removing the custom basic_string implementation means
fixing the line numbers for many of the checks.
Depends on D145312
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D145313
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions