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

Matthias Gehre via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 25 11:46:29 PDT 2015

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"



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:
-"""// 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();

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14049.38354.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151025/220ab3ad/attachment.bin>

More information about the cfe-commits mailing list