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
This commit is contained in:
Matthias Gehre 2015-10-26 21:48:08 +00:00
parent 3f989d4e6e
commit 9ec2003b7f
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ def write_test(module_path, module, check_name):
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();