================
@@ -0,0 +1,11 @@
+// RUN: %check_clang_tidy -std=c++11-or-later %s readability-trailing-comma %t 
-- \
+// RUN:   -config='{CheckOptions: 
{readability-trailing-comma.SingleLineCommaPolicy: Ignore, 
readability-trailing-comma.MultiLineCommaPolicy: Ignore}}'
+
+
+// CHECK-MESSAGES: warning: The check 'readability-trailing-comma' will not 
perform any analysis because 'SingleLineCommaPolicy' and 'MultiLineCommaPolicy' 
are both set to 'Ignore'. [clang-tidy-config]
+
+enum E1 {
+  A
+};
+
+enum E2 { B, };
----------------
EugeneZelenko wrote:

Please add newline.

https://github.com/llvm/llvm-project/pull/173669
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to