• Home
  • Raw
  • Download

Lines Matching defs:Keep

126 namespace Keep {  namespace
131 struct Keep { struct
134 Str PrivateS;
135 Str *Sptr;
136 Str &Sref;
139 int M;
140 Str S;
142 void keepTrivial() {} in keepTrivial()
145 void keepStatic() { int I = 0; } in keepStatic()
148 int *keepConstCast() { // Needs to stay non-const. in keepConstCast()
152 void non_const_use() { free_non_const_use(this); } in non_const_use()
153 void non_const_use_ref() { free_non_const_use(*this); } in non_const_use_ref()
155 Keep *return_this() { in return_this()
159 Keep &return_this_ref() { in return_this_ref()
163 void escape_this() { in escape_this()
167 void call_private_const_method() { in call_private_const_method()
171 int keepConst() const { return M; } in keepConst()
173 virtual int keepVirtual() { return M; } in keepVirtual()
175 void writeField() { in writeField()
179 void callNonConstMember() { writeField(); } in callNonConstMember()
181 void call_non_const_member_on_field() { S.non_const_method(); } in call_non_const_member_on_field()
183 void call_const_member_on_private_field() { in call_const_member_on_private_field()
189 const Str &return_private_field_ref() { in return_private_field_ref()
195 void call_non_const_member_on_pointee() { in call_non_const_member_on_pointee()
199 void call_const_member_on_pointee() { in call_const_member_on_pointee()
205 Str *return_pointer() { in return_pointer()
211 const Str *return_const_pointer() { in return_const_pointer()
217 void call_non_const_member_on_ref() { in call_non_const_member_on_ref()
221 void escaped_private_field() { in escaped_private_field()
225 Str &return_field_ref() { in return_field_ref()
231 const Str &return_field_const_ref() { in return_field_const_ref()