================
@@ -0,0 +1,142 @@
+// RUN: %check_clang_tidy -std=c++11,c++14,c++17 %s
readability-redundant-lambda-parentheses %t
+// RUN: %check_clang_tidy -std=c++20 -check-suffixes=,CXX20 %s
readability-redundant-lambda-parentheses %t
+// RUN: %check_clang_tidy -std=c++23-or-later -check-suffixes=,CXX20,CXX23 %s
readability-redundant-lambda-parentheses %t
+
+
+int main() {
+ // Basic cases - warn in all standards
----------------
vbvictor wrote:
Can we remove redundant comments that don't contribute anything
https://github.com/llvm/llvm-project/pull/190438
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits