[cfe-dev] TypeLoc Matchers

James King via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 8 12:35:07 PDT 2021


Hello All,

I'm excited to announce that `TypeLoc` AST Matchers are now available!
These matchers provide helpful utilities for matching `TypeLoc`s, such as
the `pointerTypeLoc` matcher or the `hasReturnTypeLoc` matcher. The
addition of these matchers was made possible by changes to the handling of
`TypeLoc` nodes that allows them to enjoy the same static type checking as
other AST node kinds. For more information, please refer to the following:

https://reviews.llvm.org/D110586
https://reviews.llvm.org/D111242

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20211008/f0312c95/attachment.html>


More information about the cfe-dev mailing list