Home
last modified time | relevance | path

Searched refs:FromCtx (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/include/clang/AST/
DASTStructuralEquivalence.h43 ASTContext &FromCtx, &ToCtx; member
73 ASTContext &FromCtx, ASTContext &ToCtx,
78 : FromCtx(FromCtx), ToCtx(ToCtx), NonEquivalentDecls(NonEquivalentDecls), in FromCtx() function
/external/clang/unittests/AST/
DASTImporterTest.cpp65 ASTContext &FromCtx = FromAST->getASTContext(), in testImport() local
78 FromCtx, FromAST->getFileManager(), false); in testImport()
80 IdentifierInfo *ImportedII = &FromCtx.Idents.get("declToImport"); in testImport()
85 FromCtx.getTranslationUnitDecl()->localUncachedLookup( in testImport()
/external/llvm-project/clang/unittests/AST/
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()
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()
/external/llvm-project/clang/lib/AST/
DASTStructuralEquivalence.cpp649 T1 = Context.FromCtx.getCanonicalType(T1); in IsStructurallyEquivalent()
876 cast<FunctionProtoType>(OrigT1.getDesugaredType(Context.FromCtx)); in IsStructurallyEquivalent()
1872 FromCtx.getDiagnostics().notePriorDiagnosticFrom(ToCtx.getDiagnostics()); in Diag1()
1874 return FromCtx.getDiagnostics().Report(Loc, DiagID); in Diag1()
1881 ToCtx.getDiagnostics().notePriorDiagnosticFrom(FromCtx.getDiagnostics()); in Diag2()