[cfe-dev] [Clang-tidy] Detecting if a catch was done by const ref

Matthieu Brucher via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 14 04:56:46 PDT 2018


Le 12 mars 2018 21:30, "Miklos Vajna" <vmiklos at vmiklos.hu> a écrit :

Hi,

On Mon, Mar 12, 2018 at 08:49:50PM +0000, Matthieu Brucher via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> I guess you have to know the AST matcher expressions... Are there
tutorials
> on top of the doxygen doc? Or perhaps even books?

Try <https://clang.llvm.org/docs/LibASTMatchersTutorial.html>.

Regards,

Miklos


Thanks for the pointers.
Is the not() matcher only available in 6.0? I tried the expression in
5.0.1,but it failed.
Still trying to find the list of possible "instructions" in the query.

Regards

Matthieu Brucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180314/0d8fd5a2/attachment.html>


More information about the cfe-dev mailing list