Lines Matching defs:Keep

132 namespace Keep {  namespace
137 struct Keep { struct
140 Str PrivateS;
141 Str *Sptr;
142 Str &Sref;
145 int M;
146 Str S;
148 void keepTrivial() {} in keepTrivial()
151 void keepStatic() { int I = 0; } in keepStatic()
154 int *keepConstCast() { // Needs to stay non-const. in keepConstCast()
158 void non_const_use() { free_non_const_use(this); } in non_const_use()
159 void non_const_use_ref() { free_non_const_use(*this); } in non_const_use_ref()
161 Keep *return_this() { in return_this()
165 Keep &return_this_ref() { in return_this_ref()
169 void escape_this() { in escape_this()
173 void call_private_const_method() { in call_private_const_method()
177 int keepConst() const { return M; } in keepConst()
179 virtual int keepVirtual() { return M; } in keepVirtual()
181 void writeField() { in writeField()
185 void callNonConstMember() { writeField(); } in callNonConstMember()
187 void call_non_const_member_on_field() { S.non_const_method(); } in call_non_const_member_on_field()
189 void call_const_member_on_private_field() { in call_const_member_on_private_field()
195 const Str &return_private_field_ref() { in return_private_field_ref()
201 void call_non_const_member_on_pointee() { in call_non_const_member_on_pointee()
205 void call_const_member_on_pointee() { in call_const_member_on_pointee()
211 Str *return_pointer() { in return_pointer()
217 const Str *return_const_pointer() { in return_const_pointer()
223 void call_non_const_member_on_ref() { in call_non_const_member_on_ref()
227 void escaped_private_field() { in escaped_private_field()
231 Str &return_field_ref() { in return_field_ref()
237 const Str &return_field_const_ref() { in return_field_const_ref()