Lines Matching refs:c_str
43 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_scope_char()
48 const char *c2 = s.c_str(); in deref_after_scope_char()
78 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::wstring' obtained here}} in deref_after_scope_wchar_t()
83 const wchar_t *c2 = s.c_str(); in deref_after_scope_wchar_t()
101 … c16 = s16.c_str(); // expected-note {{Pointer to inner buffer of 'std::u16string' obtained here}} in deref_after_scope_char16_t_cstr()
104 const char16_t *c16_2 = s16.c_str(); in deref_after_scope_char16_t_cstr()
125 c1 = s1.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in multiple_symbols()
127 const char *local = s1.c_str(); in multiple_symbols()
132 const char *c2 = s2.c_str(); in multiple_symbols()
149 c = s.c_str(); in deref_after_scope_ok()
161 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_equals()
179 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_clear()
188 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_append()
206 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_erase()
215 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_insert()
224 …c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained he… in deref_after_replace()
233 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_pop_back()
251 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in deref_after_reserve()
296 return s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in name()
332 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in STL_func_ref()
341 c = s.c_str(); in STL_func_const_ref()
349 c = s.c_str(); in STL_func_value()
358 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in func_ptr_known()
367 c = s.c_str(); in func_ptr_unknown()
375 c = s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in func_default_arg()
384 c = s.c_str(); in func_addressof()
392 c = s.c_str(); in func_AddressofFn_()
413 …return x.to_string().c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained… in escape_via_return_temp()
421 return s.c_str(); // expected-note {{Pointer to inner buffer of 'std::string' obtained here}} in escape_via_return_local()
438 const char *c = s.c_str(); in checkReference()