[PATCH] AST matcher for final classes and methods

Manuel Klimek klimek at google.com
Fri Jul 24 04:50:28 PDT 2015


LG

On Wed, Jul 22, 2015 at 8:42 PM Aaron Ballman <aaron at aaronballman.com>
wrote:

> This patch adds a narrowing AST matcher, isFinal(), so that you can
> match on final classes or methods. While this could be accomplished
> through use of the hasAttr() matcher, the fact that we model final as
> an attribute is really an implementation detail.
>
> ~Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150724/243e1548/attachment.html>


More information about the cfe-commits mailing list