| /llvm-project-15.0.7/clang/test/SemaObjCXX/Inputs/ |
| H A D | nullability-pragmas-1.h | 19 typedef int *int_ptr; typedef 28 void f5(int_ptr x); 37 int_ptr f13(void); 117 void f21(int_ptr x); // expected-warning{{pointer is missing a nullability type specifier}} 123 void f23(int_ptr _Nullable x);
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/inferior-changed/ |
| H A D | main2.c | 6 int *int_ptr = (int *)malloc(sizeof(int)); in main() local 7 *int_ptr = 7; in main() 9 printf("Now not crash %d\n", *int_ptr); // Not crash here. in main()
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | types.h | 13 typedef int * int_ptr; typedef 39 typedef int_ptr * int_ptr_ptr; 45 typedef typeof(int_ptr *) int_ptr_ptr2;
|
| H A D | types.c | 26 int_ptr int_value_ptr = &int_value;
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-conversion.cpp | 13 typedef int *int_ptr; typedef 25 void test_const_cast(int_ptr ip, int_ptr_1 ip1, int_ptr_2 ip2, in test_const_cast() 31 (void)const_cast<int_ptr>(ip1); // expected-error{{is not allowed}} in test_const_cast() 32 (void)const_cast<int_ptr>(ip2); // expected-error{{is not allowed}} in test_const_cast() 46 (void)const_cast<int_ptr>(cip); in test_const_cast()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | redundant-smartptr-get.cpp | 35 struct int_ptr { struct 97 int_ptr ip; in Positive() 230 int_ptr ip; in Negative()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 66 int *int_ptr; in check_all_fns() local 140 frexp(a, int_ptr); in check_all_fns() 197 remquo(a, b, int_ptr); in check_all_fns()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | nullability.c | 8 typedef int * int_ptr; typedef 57 typedef _Nonnull int_ptr (^ block_type_4)(int, int); 58 typedef _Nonnull int_ptr (* function_pointer_type_4)(int, int); 59 typedef void (* function_pointer_type_5)(int_ptr _Nonnull);
|
| H A D | warn-type-safety.c | 158 void test_64bit_magic(int *int_ptr, float *float_ptr) in test_64bit_magic() argument 160 F_func(int_ptr, 0xFFFFFFFFFFFFFFFFULL); in test_64bit_magic() 161 …F_func(int_ptr, 0xFFFFFFFFULL); // expected-warning {{argument type 'int *' doesn't matc… in test_64bit_magic()
|
| H A D | designated-initializers.c | 212 int *int_ptr; member
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | ext-vector-type.cpp | 42 typedef int* int_ptr; typedef 45 …typedef int_ptr __attribute__((ext_vector_type(Length))) type; // expected-error{{invalid vector e…
|
| H A D | matrix-type.cpp | 138 typedef int *int_ptr; typedef 141 …typedef int_ptr __attribute__((matrix_type(R, C))) type; // expected-error{{invalid matrix element…
|
| H A D | temp_class_spec.cpp | 77 typedef INT* int_ptr; typedef 82 int is_same3[is_same<int_ptr, int>::value? -1 : 1];
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | misplaced-const.rst | 16 typedef int *int_ptr; 17 void f(const int_ptr ptr) {
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | load-stmts.cpp | 37 Integer *int_ptr; in test_exprs() local 38 int_ptr->Integer::~Integer(); in test_exprs()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/BTF/ |
| H A D | static-var-derived-type.ll | 5 ; typedef int * int_ptr; 8 ; static volatile int_ptr v3 = 0; 9 ; static volatile const int_ptr v4 = 0; 133 ; CHECK-NEXT: .ascii "int_ptr" # string offset=68 167 !17 = !DIDerivedType(tag: DW_TAG_typedef, name: "int_ptr", file: !3, line: 1, baseType: !18)
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/tests/ |
| H A D | asan_interface_test.cpp | 32 int *int_ptr = Ident(new int); in TEST() local 38 EXPECT_EQ(true, __sanitizer_get_ownership(int_ptr)); in TEST() 39 EXPECT_EQ(sizeof(int), __sanitizer_get_allocated_size(int_ptr)); in TEST() 62 delete int_ptr; in TEST()
|
| H A D | asan_test.cpp | 422 int *int_ptr = new int[0]; in TEST() local 424 EXPECT_TRUE(NULL != int_ptr); in TEST() 426 EXPECT_NE(int_ptr, int_ptr2); in TEST() 427 delete[] int_ptr; in TEST() 438 int *int_ptr = Ident(new int); in TEST() local 441 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST() 447 delete int_ptr; in TEST()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | mips-transparent-union.c | 13 int *int_ptr; member
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | submodules.cpp | 10 remove_reference<int&>::type *int_ptr = 0; // expected-error{{declaration of 'remove_reference' mus… variable
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | replace-auto-ptr.rst | 15 -void take_ownership_fn(std::auto_ptr<int> int_ptr); 16 +void take_ownership_fn(std::unique_ptr<int> int_ptr);
|
| /llvm-project-15.0.7/libcxx/test/libcxx/gdb/ |
| H A D | gdb_pretty_printer_test.sh.cpp | 608 int *int_ptr = &abc; in pointer_negative_test() local 610 ComparePrettyPrintToRegex(int_ptr, R"(\(int \*\) 0x[a-f0-9]+)"); in pointer_negative_test()
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | nullability-pragmas.mm | 35 …ptr = f13(); // expected-error{{incompatible pointer types assigning to 'float *' from 'int_ptr _N…
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 4626 int *int_ptr = new int; in TEST() local 4631 EXPECT_TRUE(__sanitizer_get_ownership(int_ptr)); in TEST() 4632 EXPECT_EQ(sizeof(*int_ptr), __sanitizer_get_allocated_size(int_ptr)); in TEST() 4649 delete int_ptr; in TEST() 4687 int *int_ptr = Ident(new int); in TEST() local 4690 EXPECT_EQ(sizeof(int), malloc_usable_size(int_ptr)); in TEST() 4692 delete int_ptr; in TEST()
|