We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
modernize-return-braced-init-list
1 parent 57d67be commit af39a17Copy full SHA for af39a17
clang-tools-extra/test/clang-tidy/checkers/modernize/return-braced-init-list.cpp
@@ -1,4 +1,4 @@
1
-// RUN: %check_clang_tidy -std=c++14-or-later %s modernize-return-braced-init-list %t
+// RUN: %check_clang_tidy -std=c++11-or-later %s modernize-return-braced-init-list %t
2
3
namespace std {
4
typedef decltype(sizeof(int)) size_t;
@@ -80,10 +80,12 @@ Foo f2() {
80
return {b2};
81
}
82
83
+#if __cplusplus >= 201402L
84
auto f3() {
85
Bar b3;
86
return Foo(b3);
87
88
+#endif
89
90
#define A(b) Foo(b)
91
0 commit comments