Lines Matching full:mutable
28 [&] (int) mutable -> void {}; in f()
37 [] mutable -> int { return 0; }; // cxx23ext-warning {{is a C++23 extension}} in f()
84 …[n(0)] () mutable -> int { return ++n; }; // cxx14ext-warning {{initialized lambda captures are… in init_capture()
87 …= 0] { return ++n; }; // expected-error {{captured by copy in a non-mutable}} in init_capture()
103 mutable {}; // expected-error {{expected body of lambda expression}} in attributes()
107 []() mutable [[]] -> void {}; in attributes()
109 []() mutable noexcept [[]] -> void {}; in attributes()
113 // before the mutable specifier instead of after (unlike C++11). in attributes()
114 []() __attribute__((noreturn)) mutable { while(1); }; in attributes()
115 []() mutable in attributes()
129 [] mutable {}; // cxx23ext-warning {{is a C++23 extension}} in missing_parens()