Currently, the "hicpp/signed-bitwise" check returns the beginning of the binary/unary operator as location, which sometimes confuses users in the IDE due to incorrect [[ https://youtrack.jetbrains.com/issue/CPP-12445/Clang-Tidy-highlighting-for-binary-operators-applied-to-wrong-operand | highlighting ]]. Yes, the offset from Ranges can be used for this particular check, but i suppose better solution is to return begin location of the problematic operand instead of operator. Reviewed By: njames93 Differential Revision: https://reviews.llvm.org/D131678 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ExceptionBaseclassCheck.cpp | ||
| ExceptionBaseclassCheck.h | ||
| HICPPTidyModule.cpp | ||
| LICENSE.TXT | ||
| MultiwayPathsCoveredCheck.cpp | ||
| MultiwayPathsCoveredCheck.h | ||
| NoAssemblerCheck.cpp | ||
| NoAssemblerCheck.h | ||
| SignedBitwiseCheck.cpp | ||
| SignedBitwiseCheck.h | ||