aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorYanzuo Liu <zwuis@outlook.com>2025-09-08 10:19:52 +0800
committerGitHub <noreply@github.com>2025-09-08 10:19:52 +0800
commit2ec6b3bceda275b4146bb229668e38797d6afe62 (patch)
tree196380125ab42f353553d24e63dd91d9ea6a679c /llvm/lib/MC
parent2ed3f49c49c07236f3746bbf9bb0ba9e192f5580 (diff)
downloadllvm-2ec6b3bceda275b4146bb229668e38797d6afe62.zip
llvm-2ec6b3bceda275b4146bb229668e38797d6afe62.tar.gz
llvm-2ec6b3bceda275b4146bb229668e38797d6afe62.tar.bz2
[Clang-Tidy] Handle nested-name-specifier in "llvm-prefer-isa-or-dyn-cast-in-conditionals" (#155982)
Use `declRefExpr` matcher to match callee so that we can get the `SourceRange` of the identifier of the callee for replacement. Drive-by changes: - Use `hasConditionVariableStatement` matcher to handle `if` statements with init-statement. - Support `for` loops. Fixes #154790
Diffstat (limited to 'llvm/lib/MC')
0 files changed, 0 insertions, 0 deletions