[PATCH] D52971: [clang-tidy] Customize FileCheck prefix in check_clang-tidy.py to support multiple prefixes

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 7 12:04:37 PDT 2018


lebedev.ri added a comment.

Thank you!



================
Comment at: test/clang-tidy/check_clang_tidy.py:94-95
+    for check in args.check_suffix:
+      if not re.match('^[A-Z0-9\-,]+$', check):
+        sys.exit('Only A..Z, 0..9, "," and "-" are ' +
+          'allowed in check suffixes list, but "%s" was given' % (check))
----------------
How `,` can be allowed if that is the suffix separator?
Also, i think `_` can be supported.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52971





More information about the cfe-commits mailing list