diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-05-16 12:44:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 12:44:47 +0200 |
commit | 239f8b9eb0725b4c6ff8342717b6abbfc9a7915a (patch) | |
tree | 8d4c2b687cdee7d60b0ba16003cd5594c26fd1e6 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | ba2e4fe4e7f79e49fcac54ea20f5b899dc687cfc (diff) | |
download | llvm-239f8b9eb0725b4c6ff8342717b6abbfc9a7915a.zip llvm-239f8b9eb0725b4c6ff8342717b6abbfc9a7915a.tar.gz llvm-239f8b9eb0725b4c6ff8342717b6abbfc9a7915a.tar.bz2 |
[AST] RecursiveASTVisitor: Don't traverse the alias deduction guides in the default mode. (#91454)
By default (`shouldVisitImplicitCode()` returns `false`), RAV should not
traverse AST nodes that are not spelled in the source code. Deduction
guides for alias templates are always synthesized, so they should not be
traversed.
This is usually done by checking the implicit bit of the Decl. However,
this doesn't work deduction guides that are synthesized from explicit
user-defined deduction guides, as we must maintain the explicit bit to
ensure correct overload resolution.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions