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()
546 return DenseMapInfo<PairTy>::getHashValue(PairTy(S.File, S.Dcl));
551 return LHS.File == RHS.File && LHS.Dcl == RHS.Dcl;
DIndexing.cpp685 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
693 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.cpp44 Decl *Dcl; member in __anon2e4fd18c0111::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(0) { } in PoolVarInfo()
DTransGCAttrs.cpp119 Attr.Dcl = D; in handleAttr()
192 if (Attr.FullyMigratable && Attr.Dcl) { in errorForGCAttrsOnNonObjC()
349 if (Attr.Dcl) { in dumpGCAttrs()
351 Attr.Dcl->dump(); in dumpGCAttrs()
DTransforms.cpp216 ValueDecl *Dcl; member in __anon281f8b5f0111::ReferenceCollector
221 : Dcl(D), Refs(refs) { } in ReferenceCollector()
224 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
DTransforms.h91 Decl *Dcl; member
/external/clang/lib/Sema/
DSemaDeclCXX.cpp757 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, in CheckConstexprDeclStmt() argument
785 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
798 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
805 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
810 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt()
827 const FunctionDecl *Dcl, in CheckConstexprCtorInitializer() argument
840 SemaRef.Diag(Dcl->getLocation(), diag::err_constexpr_ctor_missing_init); in CheckConstexprCtorInitializer()
851 CheckConstexprCtorInitializer(SemaRef, Dcl, *I, Inits, Diagnosed); in CheckConstexprCtorInitializer()
859 bool Sema::CheckConstexprFunctionBody(const FunctionDecl *Dcl, Stmt *Body) { in CheckConstexprFunctionBody() argument
871 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
[all …]
DSemaDeclObjC.cpp1054 Decl *Dcl = Decls[i]; in ActOnFinishObjCImplementation() local
1055 if (!Dcl) in ActOnFinishObjCImplementation()
1057 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
1058 Dcl->setTopLevelDeclInObjCContainer(); in ActOnFinishObjCImplementation()
1059 DeclsInGroup.push_back(Dcl); in ActOnFinishObjCImplementation()
DSemaDecl.cpp3461 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg()); in ActOnDeclarator() local
3464 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
3465 Dcl->setTopLevelDeclInObjCContainer(); in ActOnDeclarator()
3467 return Dcl; in ActOnDeclarator()
/external/clang/lib/Rewrite/Frontend/
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);
2145 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2149 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2153 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2164 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);
2156 void RewriteModernObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2160 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2164 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2175 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
/external/clang/include/clang/Parse/
DParser.h1134 Decl *Dcl; member
1140 : P(parser), Dcl(D), HasCFunction(false) { in ObjCImplParsingDataRAII()
/external/clang/lib/Parse/
DParseExprCXX.cpp1354 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local
1356 DeclOut = Dcl.get(); in ParseCXXCondition()
DParseObjc.cpp1566 P.Diag(Dcl->getLocStart(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII()
1576 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl); in finish()
DParseExpr.cpp1543 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl : 0, in ParsePostfixExpressionSuffix()
/external/clang/include/clang/Sema/
DSema.h1308 void ActOnInitializerError(Decl *Dcl);
3194 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace);
4021 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl);
4025 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);
/external/clang/lib/AST/
DExprConstant.cpp6542 if (const VarDecl *Dcl = dyn_cast<VarDecl>(D)) { in CheckICE() local
6543 if (!Dcl->getType()->isIntegralOrEnumerationType()) in CheckICE()
6549 if (Dcl->getAnyInitializer(VD) && VD->checkInitIsICE()) in CheckICE()