Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp753 auto *ToDecl = cast<T>(*ToDeclOrError); in importDefinitionImpl() local
754 assert(hasBodyOrInit(ToDecl) && "Imported Decl should have body or init."); in importDefinitionImpl()
758 ToDecl->getASTContext().getParentMapContext().clear(); in importDefinitionImpl()
760 return ToDecl; in importDefinitionImpl()
803 bool CrossTranslationUnitContext::isImportedAsNew(const Decl *ToDecl) const { in isImportedAsNew()
806 return ImporterSharedSt->isNewDecl(const_cast<Decl *>(ToDecl)); in isImportedAsNew()
809 bool CrossTranslationUnitContext::hasError(const Decl *ToDecl) const { in hasError()
813 ImporterSharedSt->getImportDeclErrorIfAny(const_cast<Decl *>(ToDecl))); in hasError()
/openbsd-src/gnu/llvm/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h201 bool isImportedAsNew(const Decl *ToDecl) const;
206 bool hasError(const Decl *ToDecl) const;
/openbsd-src/gnu/llvm/clang/docs/
H A DLibASTImporter.rst51 Decl *ToDecl = nullptr;
55 ToDecl = FoundDecl;
64 Import dependent declarations and types of ToDecl;
65 ToDecl = create a new AST node in "to" Ctx;
68 return ToDecl;
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTDiagnostic.cpp1200 TemplateDecl *ToDecl = GetTemplateDecl(ToIter); in DiffTemplateTemplates() local
1201 Tree.SetTemplateTemplateDiff(FromDecl, ToDecl, FromIter.isEnd() && FromDecl, in DiffTemplateTemplates()
1202 ToIter.isEnd() && ToDecl); in DiffTemplateTemplates()
1203 Tree.SetSame(FromDecl && ToDecl && in DiffTemplateTemplates()
1204 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl()); in DiffTemplateTemplates()
H A DASTImporter.cpp7043 auto ToDecl = importChecked(Err, E->getDecl()); in VisitDeclRefExpr() local
7068 Importer.getToContext(), ToQualifierLoc, ToTemplateKeywordLoc, ToDecl, in VisitDeclRefExpr()
7963 auto ToDecl = importChecked(Err, E->getFoundDecl().getDecl()); in VisitMemberExpr() local
7970 DeclAccessPair::make(ToDecl, E->getFoundDecl().getAccess()); in VisitMemberExpr()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp89 const CXXRecordDecl *ToDecl = getRecordDecl(CE); in VisitCastExpr() local
90 assert(ToDecl); in VisitCastExpr()
92 const Record::Base *ToBase = R->getBase(ToDecl); in VisitCastExpr()