================
@@ -1,4 +1,13 @@
-// RUN: %check_clang_tidy %s bugprone-argument-comment %t -- \
+// RUN: %check_clang_tidy -std=c++11 %s bugprone-argument-comment %t -- \
+// RUN: -config="{CheckOptions: { \
+// RUN: bugprone-argument-comment.CommentBoolLiterals: true, \
+// RUN: bugprone-argument-comment.CommentIntegerLiterals: true, \
+// RUN: bugprone-argument-comment.CommentFloatLiterals: true, \
+// RUN: bugprone-argument-comment.CommentUserDefinedLiterals: true, \
+// RUN: bugprone-argument-comment.CommentStringLiterals: true, \
+// RUN: bugprone-argument-comment.CommentNullPtrs: true, \
+// RUN: bugprone-argument-comment.CommentCharacterLiterals: true}}" --
+// RUN: %check_clang_tidy -check-suffixes=,CXX20 -std=c++20 %s
bugprone-argument-comment %t -- \
----------------
localspook wrote:
```suggestion
// RUN: %check_clang_tidy -check-suffixes=,CXX20 -std=c++20-or-later %s
bugprone-argument-comment %t -- \
```
https://github.com/llvm/llvm-project/pull/180408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits