[clang-tools-extra] r245586 - [clang-tidy] Use check_clang_tidy.py instead of check_clang_tidy.sh by default.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 20 11:11:13 PDT 2015
Author: alexfh
Date: Thu Aug 20 13:11:13 2015
New Revision: 245586
URL: http://llvm.org/viewvc/llvm-project?rev=245586&view=rev
Log:
[clang-tidy] Use check_clang_tidy.py instead of check_clang_tidy.sh by default.
Modified:
clang-tools-extra/trunk/clang-tidy/add_new_check.py
Modified: clang-tools-extra/trunk/clang-tidy/add_new_check.py
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/add_new_check.py?rev=245586&r1=245585&r2=245586&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/add_new_check.py (original)
+++ clang-tools-extra/trunk/clang-tidy/add_new_check.py Thu Aug 20 13:11:13 2015
@@ -183,7 +183,7 @@ def write_test(module_path, module, chec
check_name_dashes + '.cpp')
with open(filename, 'w') as f:
f.write(
-"""// RUN: $(dirname %%s)/check_clang_tidy.sh %%s %(check_name_dashes)s %%t
+"""// RUN: %%python %%S/check_clang_tidy.py %%s %(check_name_dashes)s %%t
// REQUIRES: shell
// FIXME: Add something that triggers the check here.
More information about the cfe-commits
mailing list