Home
last modified time | relevance | path

Searched refs:ToCtx (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTStructuralEquivalence.h43 ASTContext &FromCtx, &ToCtx; member
73 ASTContext &FromCtx, ASTContext &ToCtx,
78 : FromCtx(FromCtx), ToCtx(ToCtx), NonEquivalentDecls(NonEquivalentDecls), in FromCtx()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp670 T2 = Context.ToCtx.getCanonicalType(T2); in IsStructurallyEquivalent()
1427 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1519 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1600 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1611 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1633 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1649 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1711 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1727 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
1741 << Context.ToCtx.getTypeDeclType(D2); in IsStructurallyEquivalent()
[all …]
H A DASTImporter.cpp6875 const ASTContext &ToCtx = Importer.getToContext(); in VisitGenericSelectionExpr() local
6878 ToCtx, ToGenericLoc, ToControllingExpr, in VisitGenericSelectionExpr()
6884 ToCtx, ToGenericLoc, ToControllingExpr, llvm::makeArrayRef(ToAssocTypes), in VisitGenericSelectionExpr()
7581 ASTContext &ToCtx = Importer.getToContext(); in VisitCXXBindTemporaryExpr() local
7582 CXXTemporary *Temp = CXXTemporary::Create(ToCtx, *ToDtorOrErr); in VisitCXXBindTemporaryExpr()
7583 return CXXBindTemporaryExpr::Create(ToCtx, Temp, *ToSubExprOrErr); in VisitCXXBindTemporaryExpr()
8141 ASTContext &ToCtx = Importer.getToContext(); in VisitInitListExpr() local
8142 InitListExpr *To = new (ToCtx) InitListExpr( in VisitInitListExpr()
8143 ToCtx, ToLBraceLoc, ToExprs, ToRBraceLoc); in VisitInitListExpr()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.h214 ASTContext &ToCtx = To->getASTContext(); in importNode() local
230 ToCtx.getTranslationUnitDecl()->print(ToNothing); in importNode()
257 &ToCtx = ToAST->getASTContext(); in testImport() local
259 ASTImporter Importer(ToCtx, ToAST->getFileManager(), FromCtx, in testImport()
H A DASTImporterFixtures.cpp27 ASTContext &ToCtx = ToAST->getASTContext(); in createVirtualFileIfNeeded() local
29 &ToCtx.getSourceManager().getFileManager().getVirtualFileSystem()); in createVirtualFileIfNeeded()
H A DASTImporterTest.cpp4828 ASTContext &ToCtx = ToClass->getASTContext(); in TEST_P() local
4831 "pack", match(substTemplateTypeParmPackType().bind("pack"), ToCtx)); in TEST_P()
4839 ASSERT_EQ(ToArgPack[0].getAsType(), ToCtx.FloatTy); in TEST_P()
4840 ASSERT_EQ(ToArgPack[1].getAsType(), ToCtx.DoubleTy); in TEST_P()
4841 ASSERT_EQ(ToArgPack[2].getAsType(), ToCtx.FloatTy); in TEST_P()