aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorearnol <earnol@users.noreply.github.com>2025-02-10 13:16:37 -0500
committerGitHub <noreply@github.com>2025-02-10 13:16:37 -0500
commit1e14edb8981326e18509409be5c95e0c8c740891 (patch)
treed3804adcdd624c12979cb55c8d045db55132f4b5 /llvm/lib/CodeGen/MachineOperand.cpp
parentced23aa5403240f26cba4d99b59bf5d31d6035ac (diff)
downloadllvm-1e14edb8981326e18509409be5c95e0c8c740891.zip
llvm-1e14edb8981326e18509409be5c95e0c8c740891.tar.gz
llvm-1e14edb8981326e18509409be5c95e0c8c740891.tar.bz2
[clang-tidy] Address false positives in misc-redundant-expression checker (#122841)
This patch addresses situations when misc-redundant-expression checker provides excessive diagnostics for situations with different macros having the same value. In particular it addresses situations described in the initial report of https://github.com/llvm/llvm-project/issues/118885 are addressed. The situations which are popped inside discussion like if (A + B == B + A) for macros are not properly addressed by this patch. Those changes are also mentioned in Release Notes. --------- Co-authored-by: Vladislav Aranov <vladislav.aranov@ericsson.com> Co-authored-by: EugeneZelenko <eugene.zelenko@gmail.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions