diff options
author | DonĂ¡t Nagy <donat.nagy@ericsson.com> | 2024-10-16 13:48:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 13:48:38 +0200 |
commit | f3e804b9fd561c0da970536643e2a5cd6c3d4215 (patch) | |
tree | 33c915851a2fd02603565b4be6bbf7b0edaebaf1 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 682fa797b7358733df9e439241a9ef2906003adf (diff) | |
download | llvm-f3e804b9fd561c0da970536643e2a5cd6c3d4215.zip llvm-f3e804b9fd561c0da970536643e2a5cd6c3d4215.tar.gz llvm-f3e804b9fd561c0da970536643e2a5cd6c3d4215.tar.bz2 |
[analyzer][clang-tidy][NFC] Clean up eagerly-assume handling (#112209)
This commit is a collection of several very minor code quality
improvements. The main goal is removing the misleading "Bin" substring
from the names of several methods and variables (like
`evalEagerlyAssumedBinOpBifurcation`) that are also applied for the
unary logical not operator.
In addition to this, I clarified the doc-comment of the method
`evalEagerlyAssumedBinOpBifurcation` and refactored the body of this
method to fix the capitalization of variable names and replace an
obsolete use of `std::tie` with a structured binding.
Finally, the data member `eagerlyAssumeBinOpBifurcation` of the class
`AnalyzerOptions` was completely removed (including a line in clang-tidy
that sets it to true), because it was never read by any code.
Note that the eagerly-assume mode of the analyzer is controlled by a
different boolean member of `AnalyzerOptions` which is called
`ShouldEagerlyAssume` and is defined via the macro magic from
`AnalyzerOptions.def`.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions