Lines Matching defs:auto
16 auto [v, r] = S{1, a};
23 auto [v, r] = S{1, a};
31 const auto &[v, r] = s;
39 const auto &[v, r] = s;
49 auto &[a, b] = arr;
58 decltype(auto) get() {
67 decltype(auto) get() const {
123 auto [v, r] = t;
130 auto &[v, r] = t;
137 const auto &[v, r] = t;
144 const auto &[v, r] = t;
155 const auto [a, b] = P{1, 2}; //expected-note 2{{'b' declared here}} \
157 (void)[&](auto c) { return b + [&a] {
160 (void)[&](auto c) { return b + [&a](auto) {
163 (void)[=](auto c) { return b + [&a](auto) {
166 (void)[&a,&b](auto c) { return b + [&a](auto) {
169 (void)[&a,&b](auto c) { return b + [a](auto) {
172 (void)[&a](auto c) { return b + [&a](auto) { // expected-error 2{{variable 'b' cannot be implicitly captured}} \
177 (void)[&b](auto c) { return b + [](auto) { // expected-note 3{{lambda expression begins here}} \
191 auto [e1, e2] = arr;
193 auto lambda = [e1] {
203 auto [x] = arr;