Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp43 Decl *Dcl; member in __anon6cdd62940111::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()
420 DeclStmt *Dcl; member
424 PoolVarInfo() : Dcl(nullptr) { } in PoolVarInfo()
H A DTransGCAttrs.cpp115 Attr.Dcl = D; in handleAttr()
184 if (Attr.FullyMigratable && Attr.Dcl) { in errorForGCAttrsOnNonObjC()
340 if (Attr.Dcl) { in dumpGCAttrs()
342 Attr.Dcl->dump(); in dumpGCAttrs()
H A DTransforms.cpp221 ValueDecl *Dcl; member in __anon826ab2670111::ReferenceCollector
226 : Dcl(D), Refs(refs) { } in ReferenceCollector()
229 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
H A DTransforms.h90 Decl *Dcl; member
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexHigh.cpp48 const Decl *Dcl; member
59 Dcl = getCanonical(D); in FindFileIdRefVisitData()
60 getTopOverriddenMethods(TU, Dcl, TopMethods); in FindFileIdRefVisitData()
101 if (D == Dcl) in isHit()
219 const Decl *Dcl = cxcursor::getCursorDecl(declCursor); in findIdRefsInFile() local
220 if (!Dcl) in findIdRefsInFile()
223 FindFileIdRefVisitData data(TU, FID, Dcl, in findIdRefsInFile()
227 if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) { in findIdRefsInFile()
H A DIndexing.cpp844 return Entity->IndexCtx->getClientEntity(Entity->Dcl); in clang_index_getClientEntity()
852 Entity->IndexCtx->setClientEntity(Entity->Dcl, client); in clang_index_setClientEntity()
H A DCXIndexDataConsumer.h49 const NamedDecl *Dcl; member
H A DCXIndexDataConsumer.cpp1004 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl; in handleCXXRecordDecl()
1157 EntityInfo.Dcl = D; in getEntityInfo()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTWriter.h336 const Decl *Dcl; member
345 DeclUpdate(unsigned Kind) : Kind(Kind), Dcl(nullptr) {} in DeclUpdate()
346 DeclUpdate(unsigned Kind, const Decl *Dcl) : Kind(Kind), Dcl(Dcl) {} in DeclUpdate() argument
357 const Decl *getDecl() const { return Dcl; } in getDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp1953 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprDeclStmt()
2183 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionStmt()
2258 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
2281 Dcl->getLocation(), in CheckConstexprFunctionBody()
2342 << Dcl->isConsteval(); in CheckConstexprFunctionBody()
2392 SemaRef.Diag(Dcl->getLocation(), in CheckConstexprFunctionBody()
2394 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionBody()
17262 AdjustDeclIfTemplate(Dcl); in SetDeclDeleted()
17314 if (!Dcl || Dcl->isInvalidDecl()) in SetDeclDefaulted()
17681 if (!Dcl) in ActOnCXXConditionDeclaration()
[all …]
H A DSemaDeclObjC.cpp2107 Decl *Dcl = Decls[i]; in ActOnFinishObjCImplementation() local
2108 if (!Dcl) in ActOnFinishObjCImplementation()
2110 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
2111 Dcl->setTopLevelDeclInObjCContainer(); in ActOnFinishObjCImplementation()
2112 DeclsInGroup.push_back(Dcl); in ActOnFinishObjCImplementation()
H A DSemaDecl.cpp6005 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg()); in ActOnDeclarator() local
6008 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
6009 Dcl->setTopLevelDeclInObjCContainer(); in ActOnDeclarator()
6012 ActOnFinishedFunctionDefinitionInOpenMPDeclareVariantScope(Dcl, Bases); in ActOnDeclarator()
6014 return Dcl; in ActOnDeclarator()
14527 Decl *Dcl = ActOnStartOfFunctionDef(FnBodyScope, DP, SkipBody, BodyKind); in ActOnStartOfFunctionDef() local
14530 ActOnFinishedFunctionDefinitionInOpenMPDeclareVariantScope(Dcl, Bases); in ActOnStartOfFunctionDef()
14532 return Dcl; in ActOnStartOfFunctionDef()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp166 void add(const Decl *Dcl, RelSet Flags) { in add()
167 const NamedDecl *D = llvm::dyn_cast_or_null<NamedDecl>(Dcl); in add()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp270 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
271 void RewriteImplementationDecl(Decl *Dcl);
278 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl);
279 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl);
288 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl);
2114 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2118 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2122 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2133 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
H A 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);
2197 void RewriteModernObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument
2201 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2205 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2216 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
2220 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp2109 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local
2111 if (Dcl.isInvalid()) in ParseCXXCondition()
2113 Decl *DeclOut = Dcl.get(); in ParseCXXCondition()
H A DParseObjc.cpp2257 P.Diag(Dcl->getBeginLoc(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII()
2267 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl, AtEnd.getBegin()); in finish()
H A DParseExpr.cpp2228 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl in ParsePostfixExpressionSuffix()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h1690 Decl *Dcl; member
1696 : P(parser), Dcl(D), HasCFunction(false) { in ObjCImplParsingDataRAII()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h2967 void ActOnInitializerError(Decl *Dcl);
5938 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace);
6416 ExprResult ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &Dcl,
6930 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl);
6934 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);