Searched refs:FromDC (Results 1 – 4 of 4) sorted by relevance
207 Source<DeclContext *> FromDC( in Imported() local209 if (FromOrigins.count(FromDC) && in Imported()210 Parent.HasImporterForOrigin(*FromOrigins.at(FromDC).AST)) { in Imported()214 << (void*)FromOrigins.at(FromDC).DC in Imported()216 << (void*)FromOrigins.at(FromDC).AST in Imported()218 Parent.ForceRecordOrigin(ToDC, FromOrigins.at(FromDC)); in Imported()222 << " maybe recording origin (DeclContext*)" << (void*)FromDC in Imported()225 Parent.MaybeRecordOrigin(ToDC, {FromDC, &getFromContext()}); in Imported()
143 const DeclContext *const FromDC; member in clang::ChildErrorHandlingStrategy153 : FromDC(FromDC), IgnoreChildErrors(!isa<TagDecl>(FromDC)) {} in ChildErrorHandlingStrategy()155 : FromDC(dyn_cast<DeclContext>(FromD)), in ChildErrorHandlingStrategy()172 if (!IgnoreChildErrors || !FromDC) in ignoreChildErrorOnParent()174 return FromDC->containsDecl(FromChildD); in ignoreChildErrorOnParent()325 if (FromDC->containsDeclAndLoad(FromD)) { in addDeclToContexts()1994 for (auto *From : FromDC->decls()) { in ImportDeclContext()2071 for (auto *From : FromDC->decls()) { in ImportDeclContext()9473 if (!FromDC) in ImportContext()9474 return FromDC; in ImportContext()[all …]
386 llvm::Expected<DeclContext *> ImportContext(DeclContext *FromDC);
288 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local290 if (FromDC == ToDC) return true; in MightInstantiateTo()291 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()