Searched refs:kFoo (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | memcmp_strict_test.cpp | 9 char kFoo[] = "foo"; in main() local 11 int res = memcmp(kFoo, kFubar, strlen(kFubar)); in main()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | constexpr-string.cpp | 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); 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); [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | uppercase-literal-suffix-integer.cpp | 287 static constexpr int kFoo = foo1u; member 291 constexpr int Foo<foo1u>::kFoo; member in Foo<foo1u> 297 int f = Foo<10>::kFoo; in test_non_type_template_parameter()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | references.cpp | 113 void * const & kFoo = foo; variable
|