[cfe-dev] How to match clang::attr::Annotate with specific value?

Yafei Liu via cfe-dev cfe-dev at lists.llvm.org
Sun Jul 5 02:25:19 PDT 2020


oh, I got it, I'll investigate, thank you.

On Sun, Jul 5, 2020 at 5:00 PM Andi-Bogdan Postelnicu <andi at mozilla.com>
wrote:

> No, I wasn’t saying this, I was saying you can build a custom matcher like
> the examples from the Mozilla repo [1].
>
> [1]
> https://searchfox.org/mozilla-central/source/build/clang-plugin/CustomMatchers.h#22
>
> On 5 Jul 2020, at 11:57, Yafei Liu <yfliu at mobvoi.com> wrote:
>
> Hi Andi-Bogdan, do you mean I should do the checking in the MatchCallback,
> as long as this cannot be done in a matcher?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200705/04a1a4b3/attachment.html>


More information about the cfe-dev mailing list