================
@@ -0,0 +1,48 @@
+// RUN: %check_clang_tidy -check-suffix=OFF -std=c++20-or-later %s
bugprone-argument-comment %t
+// RUN: %check_clang_tidy -check-suffix=ANON -std=c++20-or-later %s
bugprone-argument-comment %t -- \
+// RUN: -config="{CheckOptions: { \
+// RUN: bugprone-argument-comment.CommentAnonymousInitLists: true}}" --
+// RUN: %check_clang_tidy -check-suffix=TYPED -std=c++20-or-later %s
bugprone-argument-comment %t -- \
+// RUN: -config="{CheckOptions: { \
+// RUN: bugprone-argument-comment.CommentTypedInitLists: true}}" --
+// RUN: %check_clang_tidy -check-suffix=BOTH -std=c++20-or-later %s
bugprone-argument-comment %t -- \
+// RUN: -config="{CheckOptions: { \
+// RUN: bugprone-argument-comment.CommentAnonymousInitLists: true, \
+// RUN: bugprone-argument-comment.CommentTypedInitLists: true}}" --
+
+namespace GH171842 {
----------------
vbvictor wrote:
nit: no need to write these namespaces, I think all info could be found by git
blame
https://github.com/llvm/llvm-project/pull/180408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits