Home | History | Annotate | Download | only in Parser

Lines Matching refs:mutable

21     [&] (int) mutable -> void {}; 
30 [] mutable -> int { return 0; }; // expected-error{{lambda requires '()' before 'mutable'}}
63 [n(0)] () mutable -> int { return ++n; }; // expected-warning{{extension}}
65 [n = 0] { return ++n; }; // expected-error {{captured by copy in a non-mutable}} expected-warning{{extension}}
80 mutable {}; // expected-error {{expected body of lambda expression}}
84 []() mutable [[]] -> void {};
85 []() mutable noexcept [[]] -> void {};
88 // before the mutable specifier instead of after (unlike C++11).
89 []() __attribute__((noreturn)) mutable { while(1); };
90 []() mutable