Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransAutoreleasePool.cpp44 Decl *Dcl; member in __anonf6e2f8870111::ReleaseCollector
49 : Dcl(D), Releases(releases) { } in ReleaseCollector()
58 if (DE->getDecl() == Dcl) in VisitObjCMessageExpr()
94 clearRefsIn(info.Dcl, info.Refs); in ~AutoreleasePoolRewriter()
115 clearUnavailableDiags(info.Dcl); in ~AutoreleasePoolRewriter()
116 Pass.TA.removeStmt(info.Dcl); in ~AutoreleasePoolRewriter()
175 info.Dcl = DclS; in VisitCompoundStmt()
420 DeclStmt *Dcl; member
424 PoolVarInfo() : Dcl(nullptr) { } in PoolVarInfo()
DTransGCAttrs.cpp118 Attr.Dcl = D; in handleAttr()
187 if (Attr.FullyMigratable && Attr.Dcl) { in errorForGCAttrsOnNonObjC()
345 if (Attr.Dcl) { in dumpGCAttrs()
347 Attr.Dcl->dump(); in dumpGCAttrs()
DTransforms.cpp228 ValueDecl *Dcl; member in __anond2f7ac9a0111::ReferenceCollector
233 : Dcl(D), Refs(refs) { } in ReferenceCollector()
236 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
DTransforms.h91 Decl *Dcl; member
/external/clang/tools/libclang/
DCIndexHigh.cpp49 const Decl *Dcl; member
60 Dcl = getCanonical(D); in FindFileIdRefVisitData()
61 getTopOverriddenMethods(TU, Dcl, TopMethods); in FindFileIdRefVisitData()
102 if (D == Dcl) in isHit()
222 const Decl *Dcl = cxcursor::getCursorDecl(declCursor); in findIdRefsInFile() local
223 if (!Dcl) in findIdRefsInFile()
226 FindFileIdRefVisitData data(TU, FID, Dcl, in findIdRefsInFile()
230 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
DIndexing.cpp890 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
898 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
DIndexingContext.h50 const NamedDecl *Dcl; member
DIndexingContext.cpp771 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl; in handleCXXRecordDecl()
922 EntityInfo.Dcl = D; in getEntityInfo()
/external/clang/include/clang/Serialization/
DASTWriter.h311 const Decl *Dcl; member
320 DeclUpdate(unsigned Kind) : Kind(Kind), Dcl(nullptr) {} in DeclUpdate()
321 DeclUpdate(unsigned Kind, const Decl *Dcl) : Kind(Kind), Dcl(Dcl) {} in DeclUpdate() argument
334 const Decl *getDecl() const { return Dcl; } in getDecl()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp863 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, in CheckConstexprDeclStmt() argument
891 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
905 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
924 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt()
932 isa<CXXConstructorDecl>(Dcl))) in CheckConstexprDeclStmt()
938 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
946 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
960 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
977 const FunctionDecl *Dcl, in CheckConstexprCtorInitializer() argument
998 SemaRef.Diag(Dcl->getLocation(), diag::err_constexpr_ctor_missing_init); in CheckConstexprCtorInitializer()
[all …]
DSemaDeclObjC.cpp1980 Decl *Dcl = Decls[i]; in ActOnFinishObjCImplementation() local
1981 if (!Dcl) in ActOnFinishObjCImplementation()
1983 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
1984 Dcl->setTopLevelDeclInObjCContainer(); in ActOnFinishObjCImplementation()
1985 DeclsInGroup.push_back(Dcl); in ActOnFinishObjCImplementation()
DSemaDecl.cpp4659 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg()); in ActOnDeclarator() local
4662 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
4663 Dcl->setTopLevelDeclInObjCContainer(); in ActOnDeclarator()
4665 return Dcl; in ActOnDeclarator()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp269 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
270 void RewriteImplementationDecl(Decl *Dcl);
277 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
278 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
287 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2109 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2113 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2117 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2128 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
DRewriteModernObjC.cpp323 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
324 void RewriteImplementationDecl(Decl *Dcl);
331 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
332 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
341 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2217 void RewriteModernObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2221 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2225 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2236 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2240 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
/external/clang/include/clang/Parse/
DParser.h1324 Decl *Dcl; member
1330 : P(parser), Dcl(D), HasCFunction(false) { in ObjCImplParsingDataRAII()
/external/clang/lib/Parse/
DParseExprCXX.cpp1728 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local
1730 DeclOut = Dcl.get(); in ParseCXXCondition()
DParseObjc.cpp2247 P.Diag(Dcl->getLocStart(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII()
2257 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl); in finish()
DParseExpr.cpp1646 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl in ParsePostfixExpressionSuffix()
/external/clang/include/clang/Sema/
DSema.h1715 void ActOnInitializerError(Decl *Dcl);
4102 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace);
4975 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl);
4979 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);
/external/clang/lib/AST/
DExprConstant.cpp9165 if (const VarDecl *Dcl = dyn_cast<VarDecl>(D)) { in CheckICE() local
9166 if (!Dcl->getType()->isIntegralOrEnumerationType()) in CheckICE()
9172 if (Dcl->getAnyInitializer(VD) && VD->checkInitIsICE()) in CheckICE()