HomeSort by relevance Sort by last modified time
    Searched full:strcmp_ce (Results 1 - 1 of 1) sorted by null

  /external/clang/test/SemaCXX/
constant-expression-cxx11.cpp 391 constexpr int strcmp_ce(const char *p, const char *q) { function
392 return (!*p || *p != *q) ? *p - *q : strcmp_ce(p+1, q+1);
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;
    [all...]

Completed in 77 milliseconds