llvm-project/clang-tools-extra/clang-tidy/hicpp
Vladimir Plyashkun fa8f861602
[clang-tidy] hicpp-signed-bitwise - Return location of the operand (and not of the operator beginning)
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
2022-08-17 19:25:59 +01:00
..
CMakeLists.txt
ExceptionBaseclassCheck.cpp
ExceptionBaseclassCheck.h [clang-tidy][docs] Fix a couple of missed cases from 6e566bc552 2022-06-22 21:37:16 +01:00
HICPPTidyModule.cpp
LICENSE.TXT
MultiwayPathsCoveredCheck.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
MultiwayPathsCoveredCheck.h [clang-tidy][docs] Fix a couple of missed cases from 6e566bc552 2022-06-22 21:37:16 +01:00
NoAssemblerCheck.cpp
NoAssemblerCheck.h [clang-tidy][docs] Fix a couple of missed cases from 6e566bc552 2022-06-22 21:37:16 +01:00
SignedBitwiseCheck.cpp [clang-tidy] hicpp-signed-bitwise - Return location of the operand (and not of the operator beginning) 2022-08-17 19:25:59 +01:00
SignedBitwiseCheck.h [clang-tidy][docs] Fix a couple of missed cases from 6e566bc552 2022-06-22 21:37:16 +01:00