[PATCH] D13897: [AST] Put TypeLocs and NestedNameSpecifierLocs into the ParentMap.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 20 07:59:05 PDT 2015
bkramer created this revision.
bkramer added reviewers: klimek, sbenza.
bkramer added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
Firstly this changes the type of parent map to be keyed on DynTypedNode to
simplify the following changes. This comes with a DenseMapInfo for
DynTypedNode, which is a bit incomplete still and will probably only work
for parentmap right now.
Then the RecursiveASTVisitor in ASTContext is updated and finally
ASTMatchers hasParent and hasAncestor learn about the new functionality.
Now ParentMap is only missing TemplateArgumentLocs and CXXCtorInitializers.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15527 bytes
Desc: not available
More information about the cfe-commits