| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | PointerSumTypeTest.cpp | 16 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 D | complete-interfaces.m | 4 @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 D | vector-splat-conversion.cpp | 54 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 D | p3.cpp | 113 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 D | type_alias.h | 2 using Int2 = int; variable
|
| /llvm-project-15.0.7/clang/unittests/Tooling/Syntax/ |
| H A D | SynthesisTest.cpp | 147 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 D | compare.td | 62 // CHECK: def Int2 68 def Int2 : IntCompare<42, 42>;
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | warn-misleading-indentation.cpp | 105 using Int2 = int; in f4() typedef
|
| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | MsgPackDocumentTest.cpp | 18 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 D | ASTStructuralEquivalence.cpp | 1224 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 D | ConstantsTest.cpp | 364 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST() local 365 ASSERT_NE(Int1, Int2); in TEST() 372 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST()
|