[clang-tidy] The patch extends the existing command line option -check-suffix
authorZinovy Nis <zinovy.nis@gmail.com>
Tue, 9 Oct 2018 05:40:03 +0000 (05:40 +0000)
committerZinovy Nis <zinovy.nis@gmail.com>
Tue, 9 Oct 2018 05:40:03 +0000 (05:40 +0000)
commit72a6b28b3cebf9a760a1b2e931cc894fc9d33def
tree0c9536881a0cdf7a07a857853717a3b8270b5a5a
parentd46f580986360d5202c7d3b435021ae4951b6fbb
[clang-tidy] The patch extends the existing command line option -check-suffix
(with alias -check-suffixes) to accept multiple comma-separated FileCheck prefixes.

Usage:

// RUN: %check_clang_tidy -check-suffix=USING-C,USING-D %s misc-unused-using-decls %t -- -- ...
or for the same:
// RUN: %check_clang_tidy -check-suffixes=USING-C,USING-D %s misc-unused-using-decls %t -- -- ...

Differential Revision: https://reviews.llvm.org/D52971

llvm-svn: 344015
clang-tools-extra/test/clang-tidy/check_clang_tidy.cpp
clang-tools-extra/test/clang-tidy/check_clang_tidy.py