Home
last modified time | relevance | path

Searched refs:Dcl (Results 1 – 19 of 19) sorted by relevance

/external/clang/tools/libclang/
DCIndexHigh.cpp47 Decl *Dcl; member
58 Dcl = getCanonical(D); in FindFileIdRefVisitData()
59 getTopOverriddenMethods(TU, Dcl, TopMethods); in FindFileIdRefVisitData()
99 if (D == Dcl) in isHit()
219 Decl *Dcl = cxcursor::getCursorDecl(declCursor); in findIdRefsInFile() local
220 if (!Dcl) in findIdRefsInFile()
223 FindFileIdRefVisitData data(TU, FID, Dcl, in findIdRefsInFile()
227 if (DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
DIndexingContext.h47 const NamedDecl *Dcl; member
284 const Decl *Dcl; member
286 RefFileOccurence(const FileEntry *File, const Decl *Dcl) in RefFileOccurence()
287 : File(File), Dcl(Dcl) { } in RefFileOccurence()
547 ID.AddPointer(S.Dcl);
553 return LHS.File == RHS.File && LHS.Dcl == RHS.Dcl;
DIndexing.cpp683 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
691 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
DIndexingContext.cpp685 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl; in handleCXXRecordDecl()
836 EntityInfo.Dcl = D; in getEntityInfo()
/external/clang/lib/ARCMigrate/
DTransAutoreleasePool.cpp43 Decl *Dcl; member in __anonb4f046ca0111::ReleaseCollector
48 : Dcl(D), Releases(releases) { } in ReleaseCollector()
57 if (DE->getDecl() == Dcl) in VisitObjCMessageExpr()
93 clearRefsIn(info.Dcl, info.Refs); in ~AutoreleasePoolRewriter()
114 clearUnavailableDiags(info.Dcl); in ~AutoreleasePoolRewriter()
115 Pass.TA.removeStmt(info.Dcl); in ~AutoreleasePoolRewriter()
174 info.Dcl = DclS; in VisitCompoundStmt()
419 DeclStmt *Dcl; member
423 PoolVarInfo() : Dcl(0) { } in PoolVarInfo()
DTransGCAttrs.cpp118 Attr.Dcl = D; in handleAttr()
191 if (Attr.FullyMigratable && Attr.Dcl) { in errorForGCAttrsOnNonObjC()
348 if (Attr.Dcl) { in dumpGCAttrs()
350 Attr.Dcl->dump(); in dumpGCAttrs()
DTransforms.cpp165 ValueDecl *Dcl; member in __anonf4eabb1d0111::ReferenceCollector
170 : Dcl(D), Refs(refs) { } in ReferenceCollector()
173 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
DTransforms.h90 Decl *Dcl; member
/external/clang/lib/Sema/
DSemaDeclCXX.cpp743 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, in CheckConstexprDeclStmt() argument
771 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
784 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
791 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
796 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
813 const FunctionDecl *Dcl, in CheckConstexprCtorInitializer() argument
826 SemaRef.Diag(Dcl->getLocation(), diag::err_constexpr_ctor_missing_init); in CheckConstexprCtorInitializer()
837 CheckConstexprCtorInitializer(SemaRef, Dcl, *I, Inits, Diagnosed); in CheckConstexprCtorInitializer()
845 bool Sema::CheckConstexprFunctionBody(const FunctionDecl *Dcl, Stmt *Body) { in CheckConstexprFunctionBody() argument
857 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
[all …]
DSemaDeclObjC.cpp1002 Decl *Dcl = Decls[i]; in ActOnFinishObjCImplementation() local
1003 if (!Dcl) in ActOnFinishObjCImplementation()
1005 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
1006 Dcl->setTopLevelDeclInObjCContainer(); in ActOnFinishObjCImplementation()
1007 DeclsInGroup.push_back(Dcl); in ActOnFinishObjCImplementation()
DSemaDecl.cpp3225 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg(*this)); in ActOnDeclarator() local
3228 Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
3229 Dcl->setTopLevelDeclInObjCContainer(); in ActOnDeclarator()
3231 return Dcl; in ActOnDeclarator()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp275 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
276 void RewriteImplementationDecl(Decl *Dcl);
283 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
284 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
293 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2141 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2145 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2149 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2160 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
DRewriteModernObjC.cpp289 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
290 void RewriteImplementationDecl(Decl *Dcl);
297 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
298 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
307 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2065 void RewriteModernObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2069 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2073 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2084 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
/external/clang/include/clang/Parse/
DParser.h1240 Decl *Dcl; member
1245 : P(parser), Dcl(D) { in ObjCImplParsingDataRAII()
/external/clang/lib/Parse/
DParseExprCXX.cpp1344 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local
1346 DeclOut = Dcl.get(); in ParseCXXCondition()
DParseObjc.cpp1564 P.Diag(Dcl->getLocStart(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII()
1574 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl); in finish()
DParseExpr.cpp1480 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl : 0, in ParsePostfixExpressionSuffix()
/external/clang/include/clang/Sema/
DSema.h1180 void ActOnInitializerError(Decl *Dcl);
2947 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace);
3778 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl);
3782 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);
/external/clang/lib/AST/
DExprConstant.cpp6580 if (const VarDecl *Dcl = dyn_cast<VarDecl>(D)) { in CheckICE() local
6581 if (!Dcl->getType()->isIntegralOrEnumerationType()) in CheckICE()
6587 if (Dcl->getAnyInitializer(VD) && VD->checkInitIsICE()) in CheckICE()