diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2022-08-28 00:21:39 +0100 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2022-08-28 00:21:40 +0100 |
commit | 32d88239ae654239f16b516ee81ee9ff88b0ce07 (patch) | |
tree | c7d795d8ba983bf48585e754e87f05cfaa1722e8 /llvm/lib/Transforms/Utils/LCSSA.cpp | |
parent | aa7ce60536a642e825d26d89b4a4347a36b63360 (diff) | |
download | llvm-32d88239ae654239f16b516ee81ee9ff88b0ce07.zip llvm-32d88239ae654239f16b516ee81ee9ff88b0ce07.tar.gz llvm-32d88239ae654239f16b516ee81ee9ff88b0ce07.tar.bz2 |
[clang-tidy] Tweak diagnostics for bugprone-assign-in-if-condition
Currently the diagnostic is printed at the start of the assignment expression, This can be misleading.
Having the location for the diagnostic be the location of the assignment operator is much more intuitive.
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D132795
Diffstat (limited to 'llvm/lib/Transforms/Utils/LCSSA.cpp')
0 files changed, 0 insertions, 0 deletions