[cfe-dev] What is a "predicate" in the AST matcher?

Yafei Liu via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 2 23:03:26 PDT 2020


For example in this sentence:
AST matchers are predicates on nodes in the AST.
Or this:
LibASTMatchers provides a domain specific language to create predicates on
Clang’s AST.

Can someone help to explain what predicates are?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200703/27995b79/attachment.html>


More information about the cfe-dev mailing list