I checked in the AST Matcher Ref doc I generated from my build tree, then
either there is a doc problem, or I don't understand how to use findAll
(however Matcher Matcher actually mean any matcher, then any place).
Thanks
PS.: Perhaps I'll create a doc bug for it ...??
*-=-=-=-=-*
Rémi COHEN-SCA
Ok got it! I found my error.
However the findAll matcher is not recognized then is it possible to use
it, Is there some restrictions (that are not in AST Matchers ref) ?
For the little story, the correct matcher for getting all results is
something as:
binaryOperator(hasAncestor(functionDecl(h