[PATCH] D14049: clang-tidy/add_new_check.py: Adapt to use %check_clang_tidy in tests

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 25 22:20:59 PDT 2015


LG. Thanks, totally missed this.

On Sun, Oct 25, 2015, 7:46 PM Matthias Gehre via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> mgehre created this revision.
> mgehre added reviewers: alexfh, sbenza, bkramer, aaron.ballman.
> mgehre added a subscriber: cfe-commits.
>
> Adapt clang-tidy/add_new_check.py according to commit r251010 "Add
> %check_clang_tidy and %clang_tidy_diff"
>
> http://reviews.llvm.org/D14049
>
> Files:
>   clang-tidy/add_new_check.py
>
> Index: clang-tidy/add_new_check.py
> ===================================================================
> --- clang-tidy/add_new_check.py
> +++ clang-tidy/add_new_check.py
> @@ -193,7 +193,7 @@
>    print('Creating %s...' % filename)
>    with open(filename, 'wb') as f:
>      f.write(
> -"""// RUN: %%python %%S/check_clang_tidy.py %%s %(check_name_dashes)s %%t
> +"""// RUN: %%check_clang_tidy %%s %(check_name_dashes)s %%t
>
>  // FIXME: Add something that triggers the check here.
>  void f();
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151026/acb4f120/attachment.html>


More information about the cfe-commits mailing list