Home
last modified time | relevance | path

Searched +defs:DC +defs:DG (Results 1 – 10 of 10) sorted by relevance

/external/clang/tools/libclang/
DIndexBody.cpp26 const NamedDecl *Parent, const DeclContext *DC) in BodyIndexer()
140 DeclGroupRef DG = S->getDeclGroup(); in VisitDeclStmt() local
169 const DeclContext *DC) { in indexBody()
DIndexDecl.cpp331 void IndexingContext::indexDeclContext(const DeclContext *DC) { in indexDeclContext()
346 void IndexingContext::indexDeclGroupRef(DeclGroupRef DG) { in indexDeclGroupRef()
353 DeclGroupRef DG = TUDeclsInObjCContainer.front(); in indexTUDeclsInObjCContainer() local
DIndexingContext.h62 const DeclContext *DC; member
452 void addTUDeclInObjCContainer(DeclGroupRef DG) { in addTUDeclInObjCContainer()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp29 const DeclContext *DC = D->getDeclContext(); in isDeclWithinFunction() local
483 DeclContext *DC = Owner; in VisitVarDecl() local
924 DeclContext *DC = Owner; in VisitClassTemplateDecl() local
1115 DeclContext *DC = Owner; in VisitVarTemplateDecl() local
1357 DeclContext *DC; in VisitFunctionDecl() local
1644 DeclContext *DC = Owner; in VisitCXXMethodDecl() local
3451 DeclGroupRef DG(Function); in InstantiateFunctionDefinition() local
4320 DeclContext *Sema::FindInstantiatedContext(SourceLocation Loc, DeclContext* DC, in FindInstantiatedContext()
4445 DeclContext *DC = CurContext; in FindInstantiatedDecl() local
DSemaStmt.cpp72 DeclGroupRef DG = dg.get(); in ActOnDeclStmt() local
81 DeclGroupRef DG = dg.get(); in ActOnForEachDeclStmt() local
1889 DeclContext *DC = SemaRef.CurContext; in BuildForRangeVarDecl() local
3631 DeclContext *DC = CurContext; in ActOnSEHTryBlock() local
3710 DeclContext *DC = CurContext; in CreateCapturedStmtRecordDecl() local
3769 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() local
3796 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart() local
DSemaDeclObjC.cpp127 DeclContext *DC = NewMethod->getDeclContext(); in CheckObjCMethodOverride() local
2782 DeclGroupRef DG = allTUVars[i].get(); in ActOnAtEnd() local
2793 DeclGroupRef DG = allTUVars[i].get(); in ActOnAtEnd() local
DSemaCodeComplete.cpp726 const DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getBasePriority() local
3989 } else if (auto DC = NakedFn->getType()->getAsCXXRecordDecl()) { in CodeCompleteCall() local
4461 DeclContext *DC = S->getEntity(); in isNamespaceScope() local
5766 DeclGroupRef DG = IterationVar.get(); in CodeCompleteObjCForCollection() local
6971 if (DeclContext *DC = S->getEntity()) in CodeCompleteObjCMethodDecl() local
DTreeTransform.h943 DeclContext *DC = SemaRef.computeDeclContext(SS, false); in RebuildDependentNameType() local
1233 Sema::DeclGroupPtrTy DG = getSema().BuildDeclaratorGroup(Decls); in RebuildDeclStmt() local
/external/clang/lib/Frontend/
DASTUnit.cpp778 DeclContext *DC = D->getDeclContext(); in AddTopLevelDeclarationToHash() local
929 bool HandleTopLevelDecl(DeclGroupRef DG) override { in HandleTopLevelDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp756 SmallVector<Decl *, 8> DG; in HandleTopLevelSingleDecl() local
781 SmallVector<Decl *, 8> DG; in HandleTopLevelSingleDecl() local
1207 RewriteModernObjC::RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG) { in RewriteForwardProtocolDecl()
3083 const DeclContext *DC = FD->getDeclContext(); in getFunctionSourceLocation() local
3111 const DeclContext *DC = FD->getDeclContext(); in RewriteLineDirective() local