Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %check_clang_tidy -std=c++14-or-later %s modernize-return-braced-init-list %t
// RUN: %check_clang_tidy %s modernize-return-braced-init-list %t

namespace std {
typedef decltype(sizeof(int)) size_t;
Expand Down Expand Up @@ -80,10 +80,12 @@ Foo f2() {
return {b2};
}

#if __cplusplus >= 201402L
auto f3() {
Bar b3;
return Foo(b3);
}
#endif

#define A(b) Foo(b)

Expand Down