diff options
author | Eduardo Caldas <ecaldas@google.com> | 2020-08-07 18:42:35 +0000 |
---|---|---|
committer | Eduardo Caldas <ecaldas@google.com> | 2020-08-10 15:47:20 +0000 |
commit | f9500cc487573c55ea37b4ee6e9162d115753a48 (patch) | |
tree | 0a11d0017b62ec073d21fc4823fc669e1c275947 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 7406eb4f6afd8df9bd4dbb918f5e7005ba71d58c (diff) | |
download | llvm-f9500cc487573c55ea37b4ee6e9162d115753a48.zip llvm-f9500cc487573c55ea37b4ee6e9162d115753a48.tar.gz llvm-f9500cc487573c55ea37b4ee6e9162d115753a48.tar.bz2 |
[SyntaxTree] Expand support for `NestedNameSpecifier`
Summary:
We want NestedNameSpecifier syntax nodes to be generally supported, not
only for `DeclRefExpr` and `DependentScopedDeclRefExpr`.
To achieve this we:
* Use the `RecursiveASTVisitor`'s API to traverse
`NestedNameSpecifierLoc`s and automatically create its syntax nodes
* Add links from the `NestedNameSpecifierLoc`s to their syntax nodes.
In this way, from any semantic construct that has a `NestedNameSpecifier`,
we implicitly generate its syntax node via RAV and we can easily access
this syntax node via the links we added.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions