Home
last modified time | relevance | path

Searched refs:Int2 (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DPointerSumTypeTest.cpp16 enum Kinds { Float, Int1, Int2 }; enumerator
41 EXPECT_EQ(Int2, c.getTag()); in TEST_F()
48 EXPECT_FALSE(a.is<Int2>()); in TEST_F()
51 EXPECT_FALSE(b.is<Int2>()); in TEST_F()
54 EXPECT_TRUE(c.is<Int2>()); in TEST_F()
66 EXPECT_EQ(&i2, c.get<Int2>()); in TEST_F()
78 EXPECT_EQ(&i2, c.cast<Int2>()); in TEST_F()
82 b = SumType::create<Int2>(&i2); in TEST_F()
85 EXPECT_EQ(&i2, b.get<Int2>()); in TEST_F()
87 b = SumType::create<Int2>(&i1); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-interfaces.m4 @class Int1, Int2, Int3, Int4;
11 @interface Int2 : Int3 interface
16 @implementation Int2 implementation
24 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int2}
29 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int2}
38 // CHECK-CC4-NEXT: ObjCInterfaceDecl:{TypedText Int2}
57 // CHECK-USE: ObjCInterfaceDecl:{TypedText Int2} (50)
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dvector-splat-conversion.cpp54 gcc_int_2 FloatToIntConversion(gcc_int_2 Int2, float f) { in FloatToIntConversion() argument
55 return Int2 + f; in FloatToIntConversion()
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.decomp/
H A Dp3.cpp113 using Int2 = int[2]; in referenced_type() typedef
114 using Int2 = decltype(b1); in referenced_type() typedef
115 using Int2 = decltype(br1); in referenced_type() typedef
116 using Int2 = decltype(brr1); in referenced_type() typedef
/llvm-project-15.0.7/clang-tools-extra/test/clang-move/Inputs/
H A Dtype_alias.h2 using Int2 = int; variable
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DSynthesisTest.cpp147 auto *Int2 = createTree(*Arena, {{Leaf2, NodeRole::LiteralToken}}, in TEST_P() local
153 {Int2, NodeRole::RightHandSide}}, in TEST_P()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dcompare.td62 // CHECK: def Int2
68 def Int2 : IntCompare<42, 42>;
/llvm-project-15.0.7/clang/test/Parser/
H A Dwarn-misleading-indentation.cpp105 using Int2 = int; in f4() typedef
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMsgPackDocumentTest.cpp18 DocNode Int1 = Doc.getNode(1), Int2 = Doc.getNode(2); in TEST() local
21 ASSERT_TRUE(Int1 != Int2); in TEST()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1224 const auto *Int2 = cast<BitIntType>(T2); in IsStructurallyEquivalent() local
1226 if (Int1->isUnsigned() != Int2->isUnsigned() || in IsStructurallyEquivalent()
1227 Int1->getNumBits() != Int2->getNumBits()) in IsStructurallyEquivalent()
1233 const auto *Int2 = cast<DependentBitIntType>(T2); in IsStructurallyEquivalent() local
1235 if (Int1->isUnsigned() != Int2->isUnsigned() || in IsStructurallyEquivalent()
1237 Int2->getNumBitsExpr())) in IsStructurallyEquivalent()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp364 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST() local
365 ASSERT_NE(Int1, Int2); in TEST()
372 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST()