aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2022-08-28 00:21:39 +0100
committerNathan James <n.james93@hotmail.co.uk>2022-08-28 00:21:40 +0100
commit32d88239ae654239f16b516ee81ee9ff88b0ce07 (patch)
treec7d795d8ba983bf48585e754e87f05cfaa1722e8 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parentaa7ce60536a642e825d26d89b4a4347a36b63360 (diff)
downloadllvm-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/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions