diff options
author | Denis Nikitin <denik@google.com> | 2023-01-25 19:58:38 +0000 |
---|---|---|
committer | Christopher Di Bella <cjdb@google.com> | 2023-01-25 20:06:41 +0000 |
commit | 716469b6139ab5ec5c5b5dac32891300260db8eb (patch) | |
tree | 60ae2b282737be85f3acce208d2a5ce7f4c84f77 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 21b1d55c04b2d52b6b8af9b4b5dbdad39fa1d765 (diff) | |
download | llvm-716469b6139ab5ec5c5b5dac32891300260db8eb.zip llvm-716469b6139ab5ec5c5b5dac32891300260db8eb.tar.gz llvm-716469b6139ab5ec5c5b5dac32891300260db8eb.tar.bz2 |
[clang-tidy] Fix segfault in bugprone-standalone-empty
The check incorrectly identified empty() method call in the template
class definition as a stand-alone function call.
This led to a crash because the checker did not expect empty() function
calls without arguments.
Fixes: https://github.com/llvm/llvm-project/issues/59487
Reviewed By: cjdb
Differential Revision: https://reviews.llvm.org/D142423
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions