Page MenuHomePhabricator

[ASTMatchers] add typeAliasTemplateDecl matcher.

Authored by ioeric on Jan 13 2017, 4:33 AM.

Diff Detail


Event Timeline

ioeric updated this revision to Diff 84280.Jan 13 2017, 4:33 AM
ioeric retitled this revision from to [ASTMatchers] add typeAliasTemplateDecl matcher..
ioeric updated this object.
ioeric added a reviewer: hokein.
ioeric added a subscriber: cfe-commits.
hokein edited edge metadata.Jan 13 2017, 4:40 AM

You also need to add a new generated document (docs/LibASTMatchersReference.html) for that. Please run clang/docs/tools/, it will do the stuff for you.

ioeric updated this revision to Diff 93227.Mar 28 2017, 5:14 AM
  • generate html for the new matcher.
aaron.ballman added a subscriber: aaron.ballman.
aaron.ballman added inline comments.
191 ↗(On Diff #93227)

Be sure to add this to Registry.cpp so that it can be used as a dynamic matcher in clang-query.

ioeric updated this revision to Diff 93228.Mar 28 2017, 5:40 AM
ioeric marked an inline comment as done.
  • Register the matcher to Dynamic.
ioeric added inline comments.Mar 28 2017, 5:40 AM
191 ↗(On Diff #93227)

Done. Thanks for the reminder!

This revision is now accepted and ready to land.Mar 28 2017, 5:49 AM
This revision was automatically updated to reflect the committed changes.