Skip to content

Commit 9ec2003

Browse files
committed
clang-tidy/add_new_check.py: Adapt to use %check_clang_tidy in tests
Summary: Adapt clang-tidy/add_new_check.py according to commit r251010 "Add %check_clang_tidy and %clang_tidy_diff" Reviewers: alexfh, sbenza, bkramer, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D14049 llvm-svn: 251355
1 parent 3f989d4 commit 9ec2003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/add_new_check.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def write_test(module_path, module, check_name):
193193
print('Creating %s...' % filename)
194194
with open(filename, 'wb') as f:
195195
f.write(
196-
"""// RUN: %%python %%S/check_clang_tidy.py %%s %(check_name_dashes)s %%t
196+
"""// RUN: %%check_clang_tidy %%s %(check_name_dashes)s %%t
197197
198198
// FIXME: Add something that triggers the check here.
199199
void f();

0 commit comments

Comments
 (0)