Home
last modified time | relevance | path

Searched refs:MyType (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-auto-new-remove-stars.cpp11 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 Duse-auto-new.cpp12 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 Daddrspace-with-class.clcpp8 // 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 Dnth_element_stability.pass.cpp25 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 Dpartial_sort_stability.pass.cpp25 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 Ddebug_less.inconsistent.pass.cpp24 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 Ddebug_less.pass.cpp27 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 Daddress-space-ctor.cpp4 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 DDynamicTypePropagation.m22 @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 Ddynamic_type_check.m29 @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 Daddress-space-of-this.cpp7 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 Ddebug-info-struct-align.cpp8 struct MyType { struct
11 MyType mt; argument
13 static_assert(alignof(MyType) == 4, "alignof MyType is wrong");
H A Dalloc-size.cpp7 struct MyType { struct
19 return callMalloc<MyType>() + callCalloc<MyType, 4>(); in testIt()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Ddebug-info-typedef.c5 typedef int MyType; typedef
8 MyType a;
/llvm-project-15.0.7/lldb/test/API/lang/c/find_struct_type/
H A Dmain.c13 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 Disolate-declaration-cxx17.cpp57 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 Didentical-in-TU.cpp1 class MyType {}; class
/llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/ignore-conflict/
H A Dignore-conflict.cpp1 class MyType {}; class
/llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/order-dependent/
H A Dorder-dependent.cpp1 class MyType {}; class
/llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/identical/
H A Didentical.cpp1 class MyType {}; class
/llvm-project-15.0.7/clang/test/PCH/Inputs/modules/
H A DFoo.h3 typedef int MyType; typedef
/llvm-project-15.0.7/clang/test/PCH/
H A Dpreamble-modules.cpp14 MyType foo;
/llvm-project-15.0.7/mlir/docs/
H A DAttributesAndTypes.md335 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 DIPDBEnumChildren.h23 using MyType = IPDBEnumChildren<ChildType>; variable
/llvm-project-15.0.7/llvm/test/Assembler/
H A Ddebug-info.ll43 ; 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…

12