/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gdc.test/compilable/ |
H A D | testlambdacomp.d | 6 static assert(__traits(isSame, (a, b) => a + b, (c, d) => c + d)); in test1() 7 static assert(__traits(isSame, a => ++a, b => ++b)); in test1() 40 static assert(!__traits(isSame, a => a + b, a => a + b)); in test2() 43 static assert(__traits(isSame, a => a + f(), a => a + f())); in test2() 117 static assert(__traits(isSame, pred, (c, d) => c + d)); in foo() 118 static assert(__traits(isSame, (c, d) => c + d, pred)); in foo() 174 static assert(__traits(isSame, pred, pred2)); in test5() 191 static assert(__traits(isSame, preda23, predb23)); in test5() 192 static assert(!__traits(isSame, predc24, predd23)); in test5() 193 static assert(__traits(isSame, predd23, prede23)); in test5() [all …]
|
H A D | test11259.d | 7 static assert(__traits(isSame, __traits(parent, core.sys.posix.libgen), core.sys.posix)); in version() 8 static assert(__traits(isSame, core.sys.posix, __traits(parent, core.sys.posix.libgen))); in version() 10 static assert(__traits(isSame, __traits(parent, core.sys.posix), core.sys)); in version() 11 static assert(__traits(isSame, core.sys, __traits(parent, core.sys.posix))); in version() 17 static assert(__traits(isSame, __traits(parent, core.sys.windows.lmuseflg), core.sys.windows)); 18 static assert(__traits(isSame, core.sys.windows, __traits(parent, core.sys.windows.lmuseflg))); 20 static assert(__traits(isSame, __traits(parent, core.sys.windows), core.sys)); 21 static assert(__traits(isSame, core.sys, __traits(parent, core.sys.windows))); 24 static assert(__traits(isSame, __traits(parent, core.sys), core)); 25 static assert(__traits(isSame, core, __traits(parent, core.sys)));
|
/dports/devel/kpublictransport/kpublictransport-21.12.3/autotests/ |
H A D | locationtest.cpp | 77 QVERIFY(Location::isSame(l, r)); in testLocationNameCompare() 78 QVERIFY(Location::isSame(r, l)); in testLocationNameCompare() 118 QVERIFY(Location::isSame(l, r)); in testCoordinates() 119 QVERIFY(Location::isSame(r, l)); in testCoordinates() 122 QVERIFY(Location::isSame(l, r)); in testCoordinates() 123 QVERIFY(Location::isSame(r, l)); in testCoordinates() 131 QVERIFY(!Location::isSame(l, r)); in testCoordinates() 132 QVERIFY(!Location::isSame(r, l)); in testCoordinates() 142 QVERIFY(Location::isSame(l, l)); in testLocationIdentifierCompare() 148 QVERIFY(Location::isSame(l, l)); in testLocationIdentifierCompare() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/lang/clang-mesa/clang-13.0.1.src/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 43 EXPECT_TRUE(DNT<Stmt>().getCladeKind().isSame(DNT<Stmt>())); in TEST() 44 EXPECT_TRUE(DNT<Decl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 46 EXPECT_TRUE(DNT<CXXMethodDecl>().getCladeKind().isSame(DNT<Decl>())); in TEST() 77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 81 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 83 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 85 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qmatrixnxn/ |
H A D | tst_qmatrixnxn.cpp | 473 return isSame(m, identityValues2); in isIdentity() 477 return isSame(m, identityValues3); in isIdentity() 481 return isSame(m, identityValues4); in isIdentity() 1654 QVERIFY(isSame(m2, negated)); in negate2x2() 1677 QVERIFY(isSame(m2, negated)); in negate3x3() 1700 QVERIFY(isSame(m2, negated)); in negate4x4() 1723 QVERIFY(isSame(m2, negated)); in negate4x3() 2826 QVERIFY(isSame(m4, unique4x4)); in convertGeneric() 2829 QVERIFY(isSame(m5, unique4x4)); in convertGeneric() 2839 QVERIFY(isSame(m10, conv4x4)); in convertGeneric() [all …]
|
/dports/net/kitinerary/kitinerary-21.12.3/autotests/ |
H A D | mergeutiltest.cpp | 42 QVERIFY(!MergeUtil::isSame({}, {})); in testIsSameReservation() 44 QVERIFY(!MergeUtil::isSame(res1, {})); in testIsSameReservation() 45 QVERIFY(!MergeUtil::isSame({}, res1)); in testIsSameReservation() 58 QVERIFY(!MergeUtil::isSame(res1, res2)); in testIsSameReservation() 65 QVERIFY(MergeUtil::isSame(res1, res2)); in testIsSameReservation() 78 QVERIFY(!MergeUtil::isSame(f1, f2)); in testIsSameFlight() 81 QVERIFY(!MergeUtil::isSame(f1, f2)); in testIsSameFlight() 86 QVERIFY(!MergeUtil::isSame(f1, f2)); in testIsSameFlight() 89 QVERIFY(!MergeUtil::isSame(f1, f2)); in testIsSameFlight() 92 QVERIFY(MergeUtil::isSame(f1, f2)); in testIsSameFlight() [all …]
|
/dports/math/vtk8/VTK-8.2.0/IO/Image/Testing/Cxx/ |
H A D | TestImportExport.cxx | 143 if (!isSame) in ImportExportWithPipeline() 164 if (!isSame) in ImportExportWithPipeline() 238 if (!isSame) in ImportExportNoPipeline() 253 if (!isSame) in ImportExportNoPipeline() 268 if (!isSame) in ImportExportNoPipeline() 300 bool isSame = true; in compareVtkImages() local 305 isSame = false; in compareVtkImages() 318 isSame = false; in compareVtkImages() 332 isSame = false; in compareVtkImages() 348 isSame = false; in compareVtkImages() [all …]
|
/dports/math/vtk9/VTK-9.1.0/IO/Image/Testing/Cxx/ |
H A D | TestImportExport.cxx | 139 if (!isSame) in ImportExportWithPipeline() 159 if (!isSame) in ImportExportWithPipeline() 231 if (!isSame) in ImportExportNoPipeline() 245 if (!isSame) in ImportExportNoPipeline() 259 if (!isSame) in ImportExportNoPipeline() 291 bool isSame = true; in compareVtkImages() local 296 isSame = false; in compareVtkImages() 307 isSame = false; in compareVtkImages() 319 isSame = false; in compareVtkImages() 333 isSame = false; in compareVtkImages() [all …]
|
/dports/math/vtk6/VTK-6.2.0/IO/Image/Testing/Cxx/ |
H A D | TestImportExport.cxx | 143 if (!isSame) in ImportExportWithPipeline() 164 if (!isSame) in ImportExportWithPipeline() 238 if (!isSame) in ImportExportNoPipeline() 253 if (!isSame) in ImportExportNoPipeline() 268 if (!isSame) in ImportExportNoPipeline() 300 bool isSame = true; in compareVtkImages() local 305 isSame = false; in compareVtkImages() 318 isSame = false; in compareVtkImages() 332 isSame = false; in compareVtkImages() 348 isSame = false; in compareVtkImages() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/src/std/ |
H A D | meta.d | 1640 enum isSame = a == b; in isSame() local 1644 enum isSame = __traits(isSame, a, b); in isSame() local 1648 private template isSame(A, B) in isSame() function 1650 enum isSame = is(A == B); in isSame() local 1671 static assert( isSame!(1, 1)); 1672 static assert( isSame!(a, 1)); 1673 static assert( isSame!(a, b)); 1680 static assert( isSame!(isSame, isSame)); 1681 static assert(!isSame!(isSame, a)); 1684 static assert(!isSame!(short, isSame)); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 93 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 93 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 93 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 93 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 93 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 93 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 22 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 37 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 40 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 66 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 70 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 72 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 74 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 85 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 87 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 94 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 22 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 37 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 40 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 66 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 70 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 72 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 74 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 85 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 87 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 94 DNT<NamedDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|