[PATCH] D24361: hasDeclaration(qualType(...)) matcher should unwrap ElaboratedType and TemplateSpecializationType
Łukasz Anforowicz via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 23 13:54:09 PDT 2016
lukasza updated the summary for this revision.
lukasza updated this revision to Diff 72350.
lukasza marked an inline comment as done.
lukasza added a comment.
- Added test where both TemplateSpecializationType and TypedefType are present and both should match regardless of code order inside HasDeclarationMatcher::matchesSpecialized(const QualType &Node...). Removed significance of order inside this matchesSpecialized method.
- Tweaked test proposed in the previous patchset, so that it matches specific decls (rather than any decls)
- Added support for matching hasDeclaration(elaboratedType(...)) + test (in the test from the previous patchset).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6333 bytes
Desc: not available
More information about the cfe-commits