[cfe-dev] Match Non-Type Template Parameter Using AST Matchers

Aaron Ballman via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 5 12:03:09 PDT 2015


On Mon, Oct 5, 2015 at 2:59 PM, Daniel Dilts via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Does anyone have any ideas on how to do this?

That functionality doesn't currently exist. However, it should be
relatively straight-forward to add. I'm happy to do so if you would
find it useful.

~Aaron

>
> On Fri, Sep 25, 2015 at 4:18 PM, Daniel Dilts <diltsman at gmail.com> wrote:
>>
>> I see that templateTypeParmType() can match can match the name of a type
>> template parameter.  How do you match the name of a non-type template
>> parameter?  I am not seeing a similar function in the AST Matchers
>> documentation.
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list