| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-auto-new-remove-stars.cpp | 11 MyType *a_new = new MyType(); in auto_new() 15 static MyType *a_static = new MyType(); in auto_new() 33 MyType * const a_const = new MyType(); in auto_new() 37 MyType * volatile vol = new MyType(); in auto_new() 49 MyType *ptr(new MyType); in auto_new() 53 MyType *ptr2{new MyType}; in auto_new() 57 MyType *a = new MyType(), *b = new MyType(), *c = new MyType(); in auto_new() 62 MyType *d = new MyType(), *e; in auto_new() 64 MyType **f = new MyType*(), **g = new MyType*(); in auto_new() 69 MyType *h = new MyType(), **i = new MyType*(); in auto_new() [all …]
|
| H A D | use-auto-new.cpp | 12 MyType *a_new = new MyType(); in auto_new() 16 static MyType *a_static = new MyType(); in auto_new() 38 MyType * const a_const = new MyType(); in auto_new() 42 MyType * volatile vol = new MyType(); in auto_new() 54 MyType *ptr(new MyType); in auto_new() 58 MyType *ptr2{new MyType}; in auto_new() 62 MyType *a = new MyType(), *b = new MyType(), *c = new MyType(); in auto_new() 67 MyType *d = new MyType(), *e; in auto_new() 69 MyType **f = new MyType*(), **g = new MyType*(); in auto_new() 74 MyType *h = new MyType(), **i = new MyType*(); in auto_new() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCLCXX/ |
| H A D | addrspace-with-class.clcpp | 8 // CHECK: %struct.MyType = type { i32 } 9 struct MyType { 10 MyType(int i) : i(i) {} 11 MyType(int i) __constant : i(i) {} 12 ~MyType() {} 13 ~MyType() __constant {} 20 __constant MyType const1 = 1; 22 __constant MyType const2(2); 24 MyType glob(1); 37 const1.~MyType(); [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/ |
| H A D | nth_element_stability.pass.cpp | 25 struct MyType { struct 27 constexpr bool operator<(const MyType& other) const { return value < other.value; } in operator <() argument 30 std::vector<MyType> deterministic() { in deterministic() 32 std::vector<MyType> v; in deterministic() 37 …th_element<std::_ClassicAlgPolicy>(v.begin(), v.begin() + kSize / 2, v.end(), std::less<MyType>()); in deterministic() 43 std::vector<MyType> v; in test_randomization() 61 std::vector<MyType> v; in test_same() 70 …om_v.begin(), snapshot_custom_v.begin() + kSize / 2, snapshot_custom_v.end(), std::less<MyType>()); in test_same() 85 std::array<MyType, 10> v; in test_constexpr() 90 …return std::is_partitioned(v.begin(), v.end(), [&](const MyType& m) { return m.value <= v[5].value… in test_constexpr()
|
| H A D | partial_sort_stability.pass.cpp | 25 struct MyType { struct 27 constexpr bool operator<(const MyType& other) const { return value < other.value; } in operator <() argument 30 std::vector<MyType> deterministic() { in deterministic() 32 std::vector<MyType> v; in deterministic() 37 auto comp = std::less<MyType>(); in deterministic() 44 std::vector<MyType> v; in test_randomization() 62 std::vector<MyType> v; in test_same() 71 …om_v.begin(), snapshot_custom_v.begin() + kSize / 2, snapshot_custom_v.end(), std::less<MyType>()); in test_same() 86 std::array<MyType, 10> v; in test_constexpr()
|
| H A D | debug_less.inconsistent.pass.cpp | 24 struct MyType { struct 26 explicit MyType(int xvalue = 0) : value(xvalue) {} in MyType() argument 30 bool operator<(MyType<ID1> const& LHS, MyType<ID2> const& RHS) { in operator <() 42 typedef MyType<0> MT0; in main()
|
| H A D | debug_less.pass.cpp | 27 struct MyType { struct 29 explicit MyType(int xvalue = 0) : value(xvalue) {} in MyType() argument 33 bool operator<(MyType<ID1> const& LHS, MyType<ID2> const& RHS) { in operator <() 77 typedef MyType<0> MT0; 78 typedef MyType<1> MT1;
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-ctor.cpp | 4 struct MyType { struct 5 MyType(int i) : i(i) {} in MyType() function 17 MyType __attribute__((address_space(10))) m1 = 123; //expected-error{{no viable conversion from 'in… 18 MyType __attribute__((address_space(10))) m2(123); //expected-error{{no matching constructor for i…
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | DynamicTypePropagation.m | 22 @interface MyType : NSObject <NSCopying> interface 40 @implementation MyType implementation 47 void testReturnType(NSArray<MyType *> *arr) { 51 // MyType instead! 55 void testArgument(NSArray<MyType *> *arr, id element) { 58 // TODO: myFunction currently is not dispatched to MyType. Make it dispatch to 59 // MyType!
|
| H A D | dynamic_type_check.m | 29 @class MyType; 39 // Do not warn, since no information is available whether MyType is a sub or 41 MyType *num = obj; // no warning
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | address-space-of-this.cpp | 7 struct MyType { struct 8 MyType(int i) __attribute__((address_space(10))) : i(i) {} in MyType() function 12 MyType __attribute__((address_space(10))) m = 123;
|
| H A D | debug-info-struct-align.cpp | 8 struct MyType { struct 11 MyType mt; argument 13 static_assert(alignof(MyType) == 4, "alignof MyType is wrong");
|
| H A D | alloc-size.cpp | 7 struct MyType { struct 19 return callMalloc<MyType>() + callCalloc<MyType, 4>(); in testIt()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | debug-info-typedef.c | 5 typedef int MyType; typedef 8 MyType a;
|
| /llvm-project-15.0.7/lldb/test/API/lang/c/find_struct_type/ |
| H A D | main.c | 13 typedef struct mytype MyType; typedef 18 MyType *v_ptr = &v; in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | isolate-declaration-cxx17.cpp | 57 typedef int MyType; typedef 86 Types::MyType mytype1, mytype2, mytype3 = 3; in modern()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/identical-in-TU/ |
| H A D | identical-in-TU.cpp | 1 class MyType {}; class
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/ignore-conflict/ |
| H A D | ignore-conflict.cpp | 1 class MyType {}; class
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/order-dependent/ |
| H A D | order-dependent.cpp | 1 class MyType {}; class
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/identical/ |
| H A D | identical.cpp | 1 class MyType {}; class
|
| /llvm-project-15.0.7/clang/test/PCH/Inputs/modules/ |
| H A D | Foo.h | 3 typedef int MyType; typedef
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | preamble-modules.cpp | 14 MyType foo;
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | AttributesAndTypes.md | 335 def MyType : ... { 372 class MyType : /*...*/ { 383 `MyType` will need to provide a definition of `MyType::get`. 395 class MyType : /*...*/ { 417 class MyType : /*...*/ { 422 MyType MyType::get(::mlir::MLIRContext *context, int intParam) { 447 class MyType : /*...*/ { 449 static MyType get(Type typeParam); 452 MyType MyType::get(Type typeParam) { 475 class MyType : /*...*/ { [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | IPDBEnumChildren.h | 23 using MyType = IPDBEnumChildren<ChildType>; variable
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | debug-info.ll | 43 ; CHECK-NEXT: !14 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", file: !10, line: 2… 54 !16 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", file: !12, line: 2, size: 32, al…
|