| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | sanitize-dtor-zero-size-field.cpp | 24 struct Struct { struct 28 ~Struct(){}; in ~Struct() argument 38 struct Struct { struct 53 struct Struct { struct 70 struct Struct { struct 87 struct Struct { struct 100 struct Struct { struct 115 struct Struct { struct 130 struct Struct { struct 146 struct Struct { struct [all …]
|
| H A D | member-expr-references-variable.cpp | 5 struct Struct { struct 12 Struct(); argument 13 Struct(int x); 18 Struct *getPtr(); 22 void scalarStaticVariableInMemberExpr(Struct *ptr, Struct &ref) { in scalarStaticVariableInMemberExpr() 23 use(1, Struct::name); in scalarStaticVariableInMemberExpr() 25 Struct s; in scalarStaticVariableInMemberExpr() 44 void complexStaticVariableInMemberExpr(Struct *ptr, Struct &ref) { in complexStaticVariableInMemberExpr() 51 Struct s; in complexStaticVariableInMemberExpr() 88 void aggregateRefInMemberExpr(Struct *ptr, Struct &ref) { in aggregateRefInMemberExpr() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | constant-expression.cpp | 15 struct Struct { struct 26 v5 = Struct::sval, argument 27 v6 = Struct::seval, 31 v10 = sizeof(Struct), 32 v11 = true? 1 + cval * Struct::sval ^ itval / (int)1.5 - sizeof(Struct) : 0 39 b5 : Struct::sval, 40 b6 : Struct::seval, 45 b11 : true? 1 + cval * Struct::sval ^ itval / (int)1.5 - sizeof(Struct) : 0 52 i5 = Struct::sval, 53 i6 = Struct::seval, [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | StructPackAlignCheck.cpp | 51 if (Struct->isTemplated()) in check() 55 if (Struct->isInvalidDecl()) in check() 88 bool IsPacked = Struct->hasAttr<PackedAttr>(); in check() 100 diag(Struct->getLocation(), in check() 103 << Struct << (int)MinByteSize.getQuantity() in check() 107 diag(Struct->getLocation(), in check() 111 << Struct; in check() 123 Struct->getEndLoc().getLocWithOffset(1), in check() 130 diag(Struct->getLocation(), in check() 135 diag(Struct->getLocation(), in check() [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/ |
| H A D | every-function.cpp | 17 struct Struct { struct 18 Struct() {} // constructor in Struct() function 31 void struct_one_param(Struct S) { } in struct_one_param() argument 34 void modified_struct_param(const Struct S) { } in modified_struct_param() 37 void pointer_struct_param(Struct *S) { } in pointer_struct_param() 41 void modified_pointer_struct_param(const Struct *S) { } in modified_pointer_struct_param() 43 Struct rvo() { return Struct(); } in rvo() 59 Struct().cc_thiscall(); in main() 64 struct_one_param(Struct{}); in main() 67 modified_struct_param(Struct()); in main() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | TypesTest.cpp | 20 StructType *Struct = StructType::create(C, "FooBar"); in TEST() local 21 EXPECT_EQ("FooBar", Struct->getName()); in TEST() 22 Struct->setName(Struct->getName().substr(0, 3)); in TEST() 23 EXPECT_EQ("Foo", Struct->getName()); in TEST() 24 Struct->setName(""); in TEST() 25 EXPECT_TRUE(Struct->getName().empty()); in TEST() 26 EXPECT_FALSE(Struct->hasName()); in TEST()
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | editor-placeholder-recovery.cpp | 4 struct Struct { struct 6 void method(Struct &x); 40 void avoidPlaceholderErrors(Struct &obj) { in avoidPlaceholderErrors() 45 obj.method(<#Struct &x#>); in avoidPlaceholderErrors() 67 void Struct::method(<#Struct &x#>, noSupressionHere) { // expected-error {{unknown type name 'noSup…
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | implicit-bool-conversion-allow-in-conditions.cpp | 12 struct Struct { struct 26 Struct s = {}; in implicitConversionIntegerToBoolInConditionalsIsAllowed() argument 54 int Struct::* memberPointer = &Struct::member; in regularImplicitConversionPointerToBoolIsNotIgnored() 66 int Struct::* memberPointer = &Struct::member; in implicitConversionPointerToBoolInConditionalsIsAllowed()
|
| H A D | implicit-bool-conversion-cxx98.cpp | 11 struct Struct { struct 21 int Struct::* memberPointer = NULL; in useOldNullMacroInReplacements() argument 37 functionTaking<int Struct::*>(false); in fixFalseLiteralConvertingToNullPointer() 41 int Struct::* memberPointer = NULL; in fixFalseLiteralConvertingToNullPointer()
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/global_operators/ |
| H A D | main.cpp | 8 struct Struct { struct 12 bool operator==(const Struct &a, const Struct &b) { in operator ==() argument 16 typedef char buf_t[sizeof(Struct)]; 36 Struct s1, s2, s3; in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | sched-past-vector-ldst.ll | 18 %Struct = type { i64*, [9 x double], [16 x {float, float}], [16 x {float, float}], i32, i32 } 21 define linkonce_odr void @func(%Struct* nocapture %this, <4 x float> %f) unnamed_addr #0 align 2 { 23 %scevgep = getelementptr %Struct, %Struct* %this, i64 0, i32 2, i64 8, i32 0 32 %scevgep2 = getelementptr %Struct, %Struct* %this, i64 0, i32 3, i64 8, i32 0 35 %scevgep3 = getelementptr %Struct, %Struct* %this, i64 0, i32 2, i64 12, i32 0 44 %scevgep4 = getelementptr %Struct, %Struct* %this, i64 0, i32 3, i64 12, i32 0
|
| /llvm-project-15.0.7/clang/test/Refactor/LocalRename/ |
| H A D | BuiltinOffsetof.cpp | 3 struct Struct { struct 8 Struct /*range array=*/array[4][2]; argument 12 (void)__builtin_offsetof(Struct, /*range f=*/field); in foo() 18 class SubclassOffsetof : public Struct {
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
| H A D | ClassLayoutTest.cpp | 19 struct Struct; 20 typedef Struct StructTypedef; 22 struct Struct { struct 30 struct Struct StructVar; argument 94 struct Struct m_struct;
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | transparent_union_bug.c | 8 } Struct; typedef 11 Struct *ptr; 15 void foo(Struct *x); 36 void bar(Struct arg) { in bar()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | unsafe-perform-selector.m | 23 struct Struct { Rectangle r; }; argument 29 - (struct Struct)returnsStruct2; // expected-note {{method 'returnsStruct2' that returns 'struct St… argument 79 - (struct Struct)returnsSubStructExt; // expected-note {{method 'returnsSubStructExt' that returns … category 84 - (struct Struct)returnsSubStructImpl { // expected-note {{method 'returnsSubStructImpl' that retur… 85 struct Struct Result; 100 + (struct Struct)returnsSubStructClassImpl { // expected-note {{method 'returnsSubStructClassImpl' … 101 struct Struct Result;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TypeHierarchyTests.cpp | 378 withName("Child"), withKind(SymbolKind::Struct), in TEST() 416 AllOf(withName("S<0>"), withKind(SymbolKind::Struct), in TEST() 418 AllOf(withName("S"), withKind(SymbolKind::Struct), in TEST() 450 AllOf(withName("S<2>"), withKind(SymbolKind::Struct), in TEST() 452 withName("S<1>"), withKind(SymbolKind::Struct), in TEST() 461 AllOf(withName("S"), withKind(SymbolKind::Struct), in TEST() 462 parents(AllOf(withName("S"), withKind(SymbolKind::Struct), in TEST() 487 AllOf(withName("Parent"), withKind(SymbolKind::Struct), in TEST() 539 AllOf(withName("Parent"), withKind(SymbolKind::Struct), in TEST() 741 AllOf(withName("Parent"), withKind(SymbolKind::Struct), parents(), in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/test/Examples/Toy/Ch7/ |
| H A D | struct-ast.toy | 3 struct Struct { 9 def multiply_transpose(Struct value) { 16 Struct value = {[[1, 2, 3], [4, 5, 6]], [[1, 2, 3], [4, 5, 6]]}; 24 # CHECK-NEXT: Struct: Struct @{{.*}}struct-ast.toy:3:1 50 # CHECK-NEXT: VarDecl value<Struct> @{{.*}}struct-ast.toy:16:3 51 # CHECK-NEXT: Struct Literal: Literal: <2, 3>[ <3>[ 1.000000e+00, 2.000000e+00, 3.…
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/type_summary_list_script/ |
| H A D | main.cpp | 3 typedef struct Struct struct 7 } Struct; argument 12 Struct myStruct = {10, 20}; in main()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/ |
| H A D | AtomicCompareExchange.ll | 10 ; CHECK-SPIRV-DAG: %[[#Struct:]] = OpTypeStruct %[[#Int]] %[[#Bool]] 11 ; CHECK-SPIRV-DAG: %[[#UndefStruct:]] = OpUndef %[[#Struct]] 21 ; CHECK-SPIRV: %[[#Composite_0:]] = OpCompositeInsert %[[#Struct]] %[[#Res]] %[[#UndefStruct]] 0 22 ; CHECK-SPIRV: %[[#Composite_1:]] = OpCompositeInsert %[[#Struct]] %[[#Success]] %[[#Composite_0]] 1 50 ; CHECK-SPIRV: %[[#Composite:]] = OpCompositeInsert %[[#Struct]] %[[#Res_1]] %[[#UndefStruct]] 0 51 ; CHECK-SPIRV: %[[#Composite_1:]] = OpCompositeInsert %[[#Struct]] %[[#Success_1]] %[[#Composite]] 1
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | s_udt.s | 24 # CHECK: {{.*}} | S_UDT [size = 16] `Struct` 41 # struct Struct { 46 # using StructTypedef = Struct; 47 # Struct S; 52 # using LocalTypedef = Struct*; 324 # Struct (0x1004) { 335 # Name: Struct 351 # PointeeType: Struct (0x1004) 380 # Struct (0x1007) { 390 # Name: Struct [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/COFF/ |
| H A D | enum-co.ll | 21 ; struct Struct { 27 ; Struct S; 79 ; CHECK: Name: Func::Struct::Union::NestedEnum 80 ; CHECK: LinkageName: .?AW4NestedEnum@Union@Struct@?1??Func@@YAXXZ@ 89 %struct.Struct = type { %"union.Func()::Struct::Union" } 90 %"union.Func()::Struct::Union" = type { i8 } 121 %S = alloca %struct.Struct, align 1 123 …call void @llvm.dbg.declare(metadata %struct.Struct* %S, metadata !44, metadata !DIExpression()), … 152 …baseType: !4, size: 32, elements: !24, identifier: ".?AW4NestedEnum@Union@Struct@?1??Func@@YAXXZ@") 153 …e: 8, flags: DIFlagTypePassByValue, elements: !23, identifier: ".?ATUnion@Struct@?1??Func@@YAXXZ@") [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/ |
| H A D | find-functions.cpp | 28 struct Struct { struct 54 Struct s; argument 66 Struct::static_method() + s.virtual_method() + s.overloaded_method(); in main()
|
| /llvm-project-15.0.7/clang/test/Index/Core/ |
| H A D | index-source.cpp | 131 struct Struct { }; struct in PseudoOverridesInSpecializations 183 class Struct { }; class in PseudoOverridesInSpecializations 533 struct Struct { struct 538 Struct array[4][2]; 542 __builtin_offsetof(Struct, field); in foo() 554 class SubclassOffsetof : public Struct {
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | ClassInstanceValue.td | 4 class Struct<int i> { 9 class Class<Struct s> { 14 def Def : Class<Struct<i>>;
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | func-call-dbg-loc.cl | 6 } Struct; 8 Struct func1(void); 10 void func2(Struct S);
|