Home
last modified time | relevance | path

Searched refs:FromCtx (Results 1 – 5 of 5) 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() function
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.cpp154 ASTContext &FromCtx = FromTU.Unit->getASTContext(); in getImportedDecl() local
156 IdentifierInfo *ImportedII = &FromCtx.Idents.get(Identifier); in getImportedDecl()
161 FromCtx.getTranslationUnitDecl()->localUncachedLookup(ImportDeclName, in getImportedDecl()
H A DASTImporterFixtures.h256 ASTContext &FromCtx = FromAST->getASTContext(), in testImport() local
259 ASTImporter Importer(ToCtx, ToAST->getFileManager(), FromCtx, in testImport()
262 auto FoundNodes = match(SearchMatcher, FromCtx); in testImport()
H A DASTImporterTest.cpp4812 ASTContext &FromCtx = FromTU->getASTContext(); in TEST_P() local
4814 "pack", match(substTemplateTypeParmPackType().bind("pack"), FromCtx)); in TEST_P()
4821 ASSERT_EQ(FromArgPack[0].getAsType(), FromCtx.FloatTy); in TEST_P()
4822 ASSERT_EQ(FromArgPack[1].getAsType(), FromCtx.DoubleTy); in TEST_P()
4823 ASSERT_EQ(FromArgPack[2].getAsType(), FromCtx.FloatTy); in TEST_P()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp669 T1 = Context.FromCtx.getCanonicalType(T1); in IsStructurallyEquivalent()
896 cast<FunctionProtoType>(OrigT1.getDesugaredType(Context.FromCtx)); in IsStructurallyEquivalent()
2097 FromCtx.getDiagnostics().notePriorDiagnosticFrom(ToCtx.getDiagnostics()); in Diag1()
2099 return FromCtx.getDiagnostics().Report(Loc, DiagID); in Diag1()
2106 ToCtx.getDiagnostics().notePriorDiagnosticFrom(FromCtx.getDiagnostics()); in Diag2()