[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
Loading
Please sign in to comment