[PATCH] AST matcher for final classes and methods
Aaron Ballman
aaron at aaronballman.com
Fri Jul 24 05:36:09 PDT 2015
Thanks! Committed in r243107
~Aaron
On Fri, Jul 24, 2015 at 7:50 AM, Manuel Klimek <klimek at google.com> wrote:
> 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
More information about the cfe-commits
mailing list