Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp43 Decl *Dcl; member in __anon17adc21a0111::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 = nullptr; member
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 __anon0b66d26d0111::ReferenceCollector
226 : Dcl(D), Refs(refs) { } in ReferenceCollector()
229 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
H A DTransforms.h90 Decl *Dcl; member
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp30 void Sema::ActOnFinishHLSLBuffer(Decl *Dcl, SourceLocation RBrace) { in ActOnFinishHLSLBuffer() argument
31 auto *BufDecl = cast<HLSLBufferDecl>(Dcl); in ActOnFinishHLSLBuffer()
H A DSemaDeclCXX.cpp2022 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprDeclStmt()
2252 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval(); in CheckConstexprFunctionStmt()
2327 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprFunctionBody()
2350 Dcl->getLocation(), in CheckConstexprFunctionBody()
2411 << Dcl->isConsteval(); in CheckConstexprFunctionBody()
2461 SemaRef.Diag(Dcl->getLocation(), in CheckConstexprFunctionBody()
2463 << isa<CXXConstructorDecl>(Dcl) << Dcl->isConsteval() in CheckConstexprFunctionBody()
18146 AdjustDeclIfTemplate(Dcl); in SetDeclDeleted()
18198 if (!Dcl || Dcl->isInvalidDecl()) in SetDeclDefaulted()
18589 if (!Dcl) in ActOnCXXConditionDeclaration()
[all …]
H A DSemaDeclObjC.cpp2121 Decl *Dcl = Decls[i]; in ActOnFinishObjCImplementation() local
2122 if (!Dcl) in ActOnFinishObjCImplementation()
2124 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
2125 Dcl->setTopLevelDeclInObjCContainer(); in ActOnFinishObjCImplementation()
2126 DeclsInGroup.push_back(Dcl); in ActOnFinishObjCImplementation()
H A DSema.cpp2761 bool Result = llvm::all_of(LR, [](Decl *Dcl) { in isDeclaratorFunctionLike() argument
2762 if (NamedDecl *ND = dyn_cast<NamedDecl>(Dcl)) { in isDeclaratorFunctionLike()
H A DSemaDecl.cpp6221 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg()); in ActOnDeclarator() local
6224 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator()
6225 Dcl->setTopLevelDeclInObjCContainer(); in ActOnDeclarator()
6228 ActOnFinishedFunctionDefinitionInOpenMPDeclareVariantScope(Dcl, Bases); in ActOnDeclarator()
6230 return Dcl; in ActOnDeclarator()
15453 Decl *Dcl = ActOnStartOfFunctionDef(FnBodyScope, DP, SkipBody, BodyKind); in ActOnStartOfFunctionDef() local
15456 ActOnFinishedFunctionDefinitionInOpenMPDeclareVariantScope(Dcl, Bases); in ActOnStartOfFunctionDef()
15458 return Dcl; in ActOnStartOfFunctionDef()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h348 const Decl *Dcl; member
357 DeclUpdate(unsigned Kind) : Kind(Kind), Dcl(nullptr) {} in DeclUpdate()
358 DeclUpdate(unsigned Kind, const Decl *Dcl) : Kind(Kind), Dcl(Dcl) {} in DeclUpdate() argument
369 const Decl *getDecl() const { return Dcl; } in getDecl()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp2168 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local
2170 if (Dcl.isInvalid()) in ParseCXXCondition()
2172 Decl *DeclOut = Dcl.get(); in ParseCXXCondition()
H A DParseObjc.cpp2316 P.Diag(Dcl->getBeginLoc(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII()
2326 P.Actions.DefaultSynthesizeProperties(P.getCurScope(), Dcl, AtEnd.getBegin()); in finish()
H A DParseExpr.cpp2296 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl in ParsePostfixExpressionSuffix()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1730 Decl *Dcl; member
1736 : P(parser), Dcl(D), HasCFunction(false) { in ObjCImplParsingDataRAII()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3093 void ActOnInitializerError(Decl *Dcl);
6229 void ActOnFinishHLSLBuffer(Decl *Dcl, SourceLocation RBrace);
6240 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace);
6723 ExprResult ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &Dcl,
7231 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl);
7235 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);