Searched refs:strcmp_ce (Results 1 – 1 of 1) sorted by relevance
/external/clang/test/SemaCXX/ |
D | constant-expression-cxx11.cpp | 391 constexpr int strcmp_ce(const char *p, const char *q) { in strcmp_ce() function 392 return (!*p || *p != *q) ? *p - *q : strcmp_ce(p+1, q+1); in strcmp_ce() 429 static_assert(strcmp_ce("hello world", "hello world") == 0, ""); 430 static_assert(strcmp_ce("hello world", "hello clang") > 0, ""); 431 static_assert(strcmp_ce("constexpr", "test") < 0, ""); 432 static_assert(strcmp_ce("", " ") < 0, ""); 696 static_assert(strcmp_ce(&agg1.c, "hello") == 0, ""); 740 return a.a == b.a && strcmp_ce(a.b, b.b) == 0; in operator ==()
|