diff options
author | Yanzuo Liu <zwuis@outlook.com> | 2025-09-08 10:19:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-08 10:19:52 +0800 |
commit | 2ec6b3bceda275b4146bb229668e38797d6afe62 (patch) | |
tree | 196380125ab42f353553d24e63dd91d9ea6a679c /lldb/test/Shell/ObjectFile/ELF | |
parent | 2ed3f49c49c07236f3746bbf9bb0ba9e192f5580 (diff) | |
download | llvm-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 'lldb/test/Shell/ObjectFile/ELF')
0 files changed, 0 insertions, 0 deletions