The patch introduces a new command line option -check_suffix for check_clang_tidy.py to allow multiple %check_clang_tidy% in tests.
Sample:
// RUN: %check_clang_tidy -check_suffix=-FLAG_1 %s misc-unused-using-decls %t -- -- <option set 1> // RUN: %check_clang_tidy -check_suffix=-FLAG_2 %s misc-unused-using-decls %t -- -- <option set 2> ... +// CHECK-MESSAGES-FLAG_1: :[[@LINE-4]]:10: warning: using decl 'B' is unused [misc-unused-using-decls] +// CHECK-MESSAGES-FLAG_2: :[[@LINE-7]]:10: warning: using decl 'A' is unused [misc-unused-using-decls] +// CHECK-FIXES-FLAG_1-NOT: using a::A;$ +// CHECK-FIXES-FLAG_2-NOT: using a::B;$
s/SUFFIX_NAME/SUFFIX-NAME/
Same below.