• Home
  • Raw
  • Download

Lines Matching refs:DeclContext

91 const char *DeclContext::getDeclKindName() const {  in getDeclKindName()
167 const DeclContext *Decl::getParentFunctionOrMethod() const { in getParentFunctionOrMethod()
168 for (const DeclContext *DC = getDeclContext(); in getParentFunctionOrMethod()
209 void Decl::setDeclContext(DeclContext *DC) { in setDeclContext()
213 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext()
224 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl()
237 const DeclContext *DC = getDeclContext(); in isInAnonymousNamespace()
251 DeclContext *DC = getDeclContext(); in getTranslationUnitDecl()
601 Decl *Decl::castFromDeclContext (const DeclContext *D) { in castFromDeclContext()
607 return static_cast<NAME##Decl*>(const_cast<DeclContext*>(D)); in castFromDeclContext()
614 return static_cast<NAME##Decl*>(const_cast<DeclContext*>(D)); in castFromDeclContext()
620 DeclContext *Decl::castToDeclContext(const Decl *D) { in castToDeclContext()
685 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); } in getKind()
713 Decl *DeclContext::getNonClosureAncestor() { in getNonClosureAncestor()
721 bool DeclContext::classof(const Decl *D) { in classof()
739 DeclContext::~DeclContext() { } in ~DeclContext()
747 DeclContext *DeclContext::getLookupParent() { in getLookupParent()
757 bool DeclContext::isInlineNamespace() const { in isInlineNamespace()
762 bool DeclContext::isDependentContext() const { in isDependentContext()
790 bool DeclContext::isTransparentContext() const { in isTransparentContext()
799 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses()
809 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext()
873 DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts){ in collectAllContexts()
890 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, in BuildDeclChain()
914 void DeclContext::reconcileExternalVisibleStorage() { in reconcileExternalVisibleStorage()
929 DeclContext::LoadLexicalDeclsFromExternalStorage() const { in LoadLexicalDeclsFromExternalStorage()
968 DeclContext::lookup_result
969 ExternalASTSource::SetNoExternalVisibleDeclsForName(const DeclContext *DC, in SetNoExternalVisibleDeclsForName()
979 return DeclContext::lookup_result(); in SetNoExternalVisibleDeclsForName()
982 DeclContext::lookup_result
983 ExternalASTSource::SetExternalVisibleDeclsForName(const DeclContext *DC, in SetExternalVisibleDeclsForName()
1029 DeclContext::decl_iterator DeclContext::noload_decls_begin() const { in noload_decls_begin()
1033 DeclContext::decl_iterator DeclContext::decls_begin() const { in decls_begin()
1040 bool DeclContext::decls_empty() const { in decls_empty()
1047 bool DeclContext::containsDecl(Decl *D) const { in containsDecl()
1052 void DeclContext::removeDecl(Decl *D) { in removeDecl()
1095 void DeclContext::addHiddenDecl(Decl *D) { in addHiddenDecl()
1121 void DeclContext::addDecl(Decl *D) { in addDecl()
1129 void DeclContext::addDeclInternal(Decl *D) { in addDeclInternal()
1166 StoredDeclsMap *DeclContext::buildLookup() { in buildLookup()
1173 SmallVector<DeclContext *, 2> Contexts; in buildLookup()
1176 buildLookupImpl<&DeclContext::decls_begin, in buildLookup()
1177 &DeclContext::decls_end>(Contexts[I]); in buildLookup()
1189 template<DeclContext::decl_iterator (DeclContext::*Begin)() const,
1190 DeclContext::decl_iterator (DeclContext::*End)() const>
1191 void DeclContext::buildLookupImpl(DeclContext *DCtx) { in buildLookupImpl()
1214 if (DeclContext *InnerCtx = dyn_cast<DeclContext>(D)) in buildLookupImpl()
1220 DeclContext::lookup_result
1221 DeclContext::lookup(DeclarationName Name) { in lookup()
1225 DeclContext *PrimaryContext = getPrimaryContext(); in lookup()
1273 DeclContext::lookup_result
1274 DeclContext::noload_lookup(DeclarationName Name) { in noload_lookup()
1280 DeclContext *PrimaryContext = getPrimaryContext(); in noload_lookup()
1287 SmallVector<DeclContext *, 2> Contexts; in noload_lookup()
1290 buildLookupImpl<&DeclContext::noload_decls_begin, in noload_lookup()
1291 &DeclContext::noload_decls_end>(Contexts[I]); in noload_lookup()
1312 void DeclContext::localUncachedLookup(DeclarationName Name, in localUncachedLookup()
1346 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext()
1347 DeclContext *Ctx = this; in getRedeclContext()
1354 DeclContext *DeclContext::getEnclosingNamespaceContext() { in getEnclosingNamespaceContext()
1355 DeclContext *Ctx = this; in getEnclosingNamespaceContext()
1362 bool DeclContext::InEnclosingNamespaceSetOf(const DeclContext *O) const { in InEnclosingNamespaceSetOf()
1380 void DeclContext::makeDeclVisibleInContext(NamedDecl *D) { in makeDeclVisibleInContext()
1381 DeclContext *PrimaryDC = this->getPrimaryContext(); in makeDeclVisibleInContext()
1382 DeclContext *DeclDC = D->getDeclContext()->getPrimaryContext(); in makeDeclVisibleInContext()
1388 void DeclContext::makeDeclVisibleInContextWithFlags(NamedDecl *D, bool Internal, in makeDeclVisibleInContextWithFlags()
1441 void DeclContext::makeDeclVisibleInContextImpl(NamedDecl *D, bool Internal) { in makeDeclVisibleInContextImpl()
1478 DeclContext::udir_iterator_range
1479 DeclContext::getUsingDirectives() const { in getUsingDirectives()
1491 StoredDeclsMap *DeclContext::CreateStoredDeclsMap(ASTContext &C) const { in CreateStoredDeclsMap()
1531 DeclContext *Parent, in Create()