/external/clang/tools/libclang/ |
D | CIndexHigh.cpp | 47 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()
|
D | IndexingContext.h | 47 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;
|
D | Indexing.cpp | 683 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity() 691 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
|
D | IndexingContext.cpp | 685 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl; in handleCXXRecordDecl() 836 EntityInfo.Dcl = D; in getEntityInfo()
|
/external/clang/lib/ARCMigrate/ |
D | TransAutoreleasePool.cpp | 43 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()
|
D | TransGCAttrs.cpp | 118 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()
|
D | Transforms.cpp | 165 ValueDecl *Dcl; member in __anonf4eabb1d0111::ReferenceCollector 170 : Dcl(D), Refs(refs) { } in ReferenceCollector() 173 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
|
D | Transforms.h | 90 Decl *Dcl; member
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 743 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 …]
|
D | SemaDeclObjC.cpp | 1002 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()
|
D | SemaDecl.cpp | 3225 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/ |
D | RewriteObjC.cpp | 275 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()
|
D | RewriteModernObjC.cpp | 289 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/ |
D | Parser.h | 1240 Decl *Dcl; member 1245 : P(parser), Dcl(D) { in ObjCImplParsingDataRAII()
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 1344 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local 1346 DeclOut = Dcl.get(); in ParseCXXCondition()
|
D | ParseObjc.cpp | 1564 P.Diag(Dcl->getLocStart(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII() 1574 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl); in finish()
|
D | ParseExpr.cpp | 1480 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl : 0, in ParsePostfixExpressionSuffix()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1180 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/ |
D | ExprConstant.cpp | 6580 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()
|