[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
Mon Oct 26 14:50:19 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL251355: clang-tidy/add_new_check.py: Adapt to use %check_clang_tidy in tests (authored by mgehre).

Changed prior to commit:
  http://reviews.llvm.org/D14049?vs=38354&id=38466#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14049

Files:
  clang-tools-extra/trunk/clang-tidy/add_new_check.py

Index: clang-tools-extra/trunk/clang-tidy/add_new_check.py
===================================================================
--- clang-tools-extra/trunk/clang-tidy/add_new_check.py
+++ clang-tools-extra/trunk/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();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14049.38466.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151026/c6a67463/attachment.bin>


More information about the cfe-commits mailing list