================
@@ -0,0 +1,59 @@
+// 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=TEMP -std=c++20-or-later %s
bugprone-argument-comment %t -- \
+// RUN: -config="{CheckOptions: { \
+// RUN: bugprone-argument-comment.CommentParenthesizedTemporaries: true}}"
--
+// RUN: %check_clang_tidy -check-suffix=BOTH -std=c++20-or-later %s
bugprone-argument-comment %t -- \
----------------
vbvictor wrote:
Can we use BOTH-INIT, since we have a total of 3 options listed above (Anon,
typed and paren)
https://github.com/llvm/llvm-project/pull/180408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits