Searched refs:strcmp_ce (Results 1 - 1 of 1) sorted by relevance
/external/clang/test/SemaCXX/ |
H A D | constant-expression-cxx11.cpp | 344 constexpr int strcmp_ce(const char *p, const char *q) { function 345 return (!*p || *p != *q) ? *p - *q : strcmp_ce(p+1, q+1); 382 static_assert(strcmp_ce("hello world", "hello world") == 0, ""); 383 static_assert(strcmp_ce("hello world", "hello clang") > 0, ""); 384 static_assert(strcmp_ce("constexpr", "test") < 0, ""); 385 static_assert(strcmp_ce("", " ") < 0, ""); 636 static_assert(strcmp_ce(&agg1.c, "hello") == 0, ""); 680 return a.a == b.a && strcmp_ce(a.b, b.b) == 0;
|
Completed in 59 milliseconds