Searched refs:constStr (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/Sema/
H A Dstring-plus-char.c13 const char *constStr = s + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to the string}} expected-note {{use array indexing to silence this warning}} local
24 constStr = foo(&ab) + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to the string}} expected-note {{use array indexing to silence this warning}}
/external/clang/test/SemaCXX/
H A Dstring-plus-char.cpp20 const char *constStr = s + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to the string}} expected-note {{use array indexing to silence this warning}} local

Completed in 92 milliseconds