Clang AST Matcher's "AND" and "OR"

Viewed 971

Is it possible to use or in function declarations? like:

functionDecl(hasName("a") or hasName("b"))

or we have to use addMatcher to add more matchers to get the same result?

1 Answers
Related