Lines Matching refs:kFoo
362 constexpr char kFoo[] = {'f', 'o', 'o'}; variable
374 static_assert(__builtin_strchr(kFoo, 'o') == kFoo + 1);
375 …static_assert(__builtin_strchr(kFoo, 'x') == nullptr); // expected-error {{not an integral constan…
385 static_assert(__builtin_memchr(kFoo, 'x', 3) == nullptr);
386 …static_assert(__builtin_memchr(kFoo, 'x', 4) == nullptr); // expected-error {{not an integral cons…
432 static_assert(__builtin_char_memchr(kFoo, 'x', 3) == nullptr);
433 …static_assert(__builtin_char_memchr(kFoo, 'x', 4) == nullptr); // expected-error {{not an integral…
468 constexpr wchar_t kFoo[] = {L'f', L'o', L'o'};
478 static_assert(__builtin_wcschr(kFoo, L'o') == kFoo + 1);
479 …static_assert(__builtin_wcschr(kFoo, L'x') == nullptr); // expected-error {{not an integral consta…
487 static_assert(__builtin_wmemchr(kFoo, L'x', 3) == nullptr);
488 …static_assert(__builtin_wmemchr(kFoo, L'x', 4) == nullptr); // expected-error {{not an integral co…