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 NestedNameSpecifierLocs and automatically create its syntax nodes
- Add links from the NestedNameSpecifierLocs 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.
This diff revision is based on This diff revision is based on https://reviews.llvm.org/D84781
Closed by https://reviews.llvm.org/rGf9500cc487573c55ea37b4ee6e9162d115753a48
Inpired on the definition of:
Please tell me if this is all silly.