diff options
author | Ben Hamilton <benhamilton@google.com> | 2018-01-31 21:52:39 +0000 |
---|---|---|
committer | Ben Hamilton <benhamilton@google.com> | 2018-01-31 21:52:39 +0000 |
commit | ffd2df0e330f82e57453dae6271ad87149a03ec5 (patch) | |
tree | c8542e2178b5c08f4664bcd44c25722e211514b0 /llvm/unittests/CodeGen/MachineOperandTest.cpp | |
parent | 0551d83ed50d66f90badacdb070b1bde607a0b66 (diff) | |
download | llvm-ffd2df0e330f82e57453dae6271ad87149a03ec5.zip llvm-ffd2df0e330f82e57453dae6271ad87149a03ec5.tar.gz llvm-ffd2df0e330f82e57453dae6271ad87149a03ec5.tar.bz2 |
[clang-tidy] New argument --language to add_new_check.py
Summary:
Currently, add_new_check.py assumes all checks are for C++ code.
This adds a new argument --language=[LANG] to add_new_check.py
so authors of new checks can specify that the test file should
be in a different language.
For example, authors can pass --language=objc for Objective-C
clang-tidy checks.
Reviewers: hokein, alexfh
Reviewed By: alexfh
Subscribers: Wizard, xazax.hun
Differential Revision: https://reviews.llvm.org/D39141
llvm-svn: 323919
Diffstat (limited to 'llvm/unittests/CodeGen/MachineOperandTest.cpp')
0 files changed, 0 insertions, 0 deletions