/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | string-compare.cpp | 13 std::string str2("b", 1); in Test() local 89 std::string str2("b", 1); in Valid() local
|
H A D | container-size-empty.cpp | 109 std::string str2; in returnsBool() local
|
/llvm-project/clang/test/Sema/ |
H A D | overloaded-func-transparent-union.c | 7 char *str2; member 14 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { in Class_Init()
|
H A D | string-plus-char.c | 11 …char *str2 = str + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to… in f() local
|
H A D | c2x-auto.c | 89 …auto str2[] = "this is a string"; // expected-warning {{type inference of a declaration othe… in test_strings() local 103 …const auto *str2 = "this is a string"; // expected-warning {{type inference of a declaration othe… in test_pointers() local
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | not-null-terminated-result-in-initialization-strlen.c | 39 int bad_strncmp_1(char *str1, const char *str2) { in bad_strncmp_1() 46 int good_strncmp_1(char *str1, const char *str2) { in good_strncmp_1() 51 int bad_strncmp_2(char *str2) { in bad_strncmp_2()
|
H A D | string-literal-with-embedded-nul.cpp | 57 std::string str2 = "\0"; in TestA() local 79 std::wstring str2 = L"\0"; in TestW() local
|
H A D | not-null-terminated-result-strlen.c | 76 int bad_strncmp_2(char *str2, const char *str3) { in bad_strncmp_2()
|
/llvm-project/clang/test/Lexer/ |
H A D | cxx0x_raw_string_delim_length.cpp | 4 const char *str2 = R"foo()foo"; // ok variable
|
/llvm-project/llvm/test/MC/X86/AlignedBundling/ |
H A D | rodata-section.s | 28 .str2: label
|
/llvm-project/flang/test/Integration/ |
H A D | debug-char-type-1.f90 | 5 character(len=:), allocatable :: str2 variable
|
/llvm-project/libcxx/test/std/strings/basic.string/string.cons/ |
H A D | dtor.pass.cpp | 45 …std::basic_string<char, std::char_traits<char>, test_allocator<char>> str2((test_allocator<char>(&… in test() local
|
/llvm-project/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/ |
H A D | compare.pass.cpp | 37 #define ASSERT_COMPARE(type, str1, str2, expected) \ argument
|
/llvm-project/clang/test/FixIt/ |
H A D | typo.cpp | 26 tring str2; // expected-error{{unknown type name 'tring'; did you mean 'string'?}} variable 91 …nonstd::wide_string<char> str2; // expected-error{{no template named 'wide_string' in namespace 'n… in poit() local
|
/llvm-project/clang/test/SemaCXX/ |
H A D | string-plus-char.cpp | 18 …char *str2 = str + 'c'; // expected-warning {{adding 'char' to a string pointer does not append to… in f() local
|
H A D | warn-unsequenced.cpp | 66 S str2 = { a++, a++ }; // ok in test() local
|
/llvm-project/bolt/test/X86/ |
H A D | jump-table-pic-conflict.s | 115 str2: .asciz "Message 2\n" label
|
/llvm-project/lldb/test/API/tools/lldb-dap/completions/ |
H A D | main.cpp | 27 std::string str2 = "b"; in main() local
|
/llvm-project/clang/test/CodeGen/ |
H A D | auto.c | 10 auto str2[] = "Test"; // CHECK: alloca [5 x i8] in basic_types() local
|
/llvm-project/clang/test/Analysis/ |
H A D | nonnull-global-constants.mm | 83 typedef str1 str2; typedef
|
/llvm-project/compiler-rt/test/dfsan/ |
H A D | custom.cpp | 201 char str1[] = "str1", str2[] = "str2"; in test_memcmp() local 220 char str1[] = "str1", str2[] = "str2"; in test_bcmp() local 240 char str2[sizeof(str1)]; test_memcpy() local 302 char str1[] = "str1", str2[] = "str2"; test_strcmp() local 481 char str2[sizeof(str1)]; test_strncpy() local 517 char str1[] = "str1", str2[] = "str2"; test_strncmp() local 549 char str1[] = "str1", str2[] = "str2", str3[] = "Str1"; test_strcasecmp() local 588 char str1[] = "Str1", str2[] = "str2"; test_strncasecmp() local 1628 char str2[] = "1s"; test_strstr() local [all...] |
/llvm-project/clang/test/ASTMerge/exprs-cpp/Inputs/ |
H A D | exprs3.cpp | 25 const char str2[] = "ABCD" "0123"; variable
|
/llvm-project/compiler-rt/lib/asan/tests/ |
H A D | asan_mac_test.cpp | 207 CFStringRef str2 = CFStringCreateCopy(0, str); in TEST() local
|
/llvm-project/llvm/unittests/ADT/ |
H A D | FoldingSet.cpp | 31 std::string str2 = ">" + str1; in TEST() local
|
/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_libc_test.cpp | 114 const char *str2 = "zxcv"; in TEST() local
|