/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | MemberPointer.h | 25 const Decl *Dcl = nullptr; variable 28 MemberPointer(Pointer Base, const Decl *Dcl, int32_t PtrOffset) in MemberPointer() argument 29 : Base(Base), Dcl(Dcl), PtrOffset(PtrOffset) {} in MemberPointer() 33 MemberPointer(Pointer Base, const Decl *Dcl) : Base(Base), Dcl(Dcl) {} in MemberPointer() argument 39 MemberPointer(const Decl *D) : Dcl(D) { in MemberPointer() 60 return isa_and_nonnull<CXXMethodDecl>(Dcl); in isMemberFunctionPointer() 63 return dyn_cast_if_present<CXXMethodDecl>(Dcl); in getMemberFunction() 66 return dyn_cast_if_present<FieldDecl>(Dcl); in getField() 69 bool hasDecl() const { return Dcl; } in hasDecl() 70 const Decl *getDecl() const { return Dcl; } in getDecl() [all …]
|
H A D | MemberPointer.cpp | 19 if (!Dcl || isa<FunctionDecl>(Dcl)) in toPointer() 21 const FieldDecl *FD = cast<FieldDecl>(Dcl); in toPointer() 60 return FunctionPointer(Ctx.getProgram().getFunction(cast<FunctionDecl>(Dcl))); in toFunctionPointer()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransGCAttrs.cpp | 115 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 D | Transforms.cpp | 222 ValueDecl *Dcl; member in __anon26e897370111::ReferenceCollector 227 : Dcl(D), Refs(refs) { } in ReferenceCollector() 230 if (E->getDecl() == Dcl) in VisitDeclRefExpr()
|
H A D | Transforms.h | 90 Decl *Dcl; member
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 376 const Decl *Dcl; member 385 DeclUpdate(unsigned Kind) : Kind(Kind), Dcl(nullptr) {} in DeclUpdate() 386 DeclUpdate(unsigned Kind, const Decl *Dcl) : Kind(Kind), Dcl(Dcl) {} in DeclUpdate() argument 397 const Decl *getDecl() const { return Dcl; } in getDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaHLSL.h | 37 void ActOnFinishBuffer(Decl *Dcl, SourceLocation RBrace);
|
H A D | Sema.h | 2121 ExprResult ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &Dcl, 3672 void ActOnInitializerError(Decl *Dcl); 4773 void ActOnFinishNamespaceDef(Decl *Dcl, SourceLocation RBrace); 5223 void ActOnCXXEnterDeclInitializer(Scope *S, Decl *Dcl); 5227 void ActOnCXXExitDeclInitializer(Scope *S, Decl *Dcl);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 1781 static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl, 1784 static bool CheckConstexprMissingReturn(Sema &SemaRef, const FunctionDecl *Dcl); 1876 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl, in CheckConstexprDeclStmt() argument 1908 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 1924 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 1952 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt() 1961 isa<CXXConstructorDecl>(Dcl), in CheckConstexprDeclStmt() 1966 isa<CXXConstructorDecl>(Dcl))) { in CheckConstexprDeclStmt() 1977 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 1989 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 2030 CheckConstexprCtorInitializer(Sema & SemaRef,const FunctionDecl * Dcl,FieldDecl * Field,llvm::SmallSet<Decl *,16> & Inits,bool & Diagnosed,Sema::CheckConstexprKind Kind) CheckConstexprCtorInitializer() argument 2085 CheckConstexprFunctionStmt(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * S,SmallVectorImpl<SourceLocation> & ReturnStmts,SourceLocation & Cxx1yLoc,SourceLocation & Cxx2aLoc,SourceLocation & Cxx2bLoc,Sema::CheckConstexprKind Kind) CheckConstexprFunctionStmt() argument 2247 CheckConstexprFunctionBody(Sema & SemaRef,const FunctionDecl * Dcl,Stmt * Body,Sema::CheckConstexprKind Kind) CheckConstexprFunctionBody() argument 2457 CheckConstexprMissingReturn(Sema & SemaRef,const FunctionDecl * Dcl) CheckConstexprMissingReturn() argument 11698 ActOnFinishNamespaceDef(Decl * Dcl,SourceLocation RBrace) ActOnFinishNamespaceDef() argument 17920 SetDeclDeleted(Decl * Dcl,SourceLocation DelLoc,StringLiteral * Message) SetDeclDeleted() argument 17973 SetDeclDefaulted(Decl * Dcl,SourceLocation DefaultLoc) SetDeclDefaulted() argument 18397 Decl *Dcl = ActOnDeclarator(S, D); ActOnCXXConditionDeclaration() local [all...] |
H A D | SemaHLSL.cpp | 82 void SemaHLSL::ActOnFinishBuffer(Decl *Dcl, SourceLocation RBrace) { in ActOnFinishBuffer() argument 83 auto *BufDecl = cast<HLSLBufferDecl>(Dcl); in ActOnFinishBuffer()
|
H A D | SemaDeclObjC.cpp | 2123 Decl *Dcl = Decls[i]; in ActOnFinishObjCImplementation() local 2124 if (!Dcl) in ActOnFinishObjCImplementation() 2126 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation() 2127 Dcl->setTopLevelDeclInObjCContainer(); in ActOnFinishObjCImplementation() 2128 DeclsInGroup.push_back(Dcl); in ActOnFinishObjCImplementation()
|
H A D | Sema.cpp | 2754 bool Result = llvm::all_of(LR, [](Decl *Dcl) { in isDeclaratorFunctionLike() argument 2755 if (NamedDecl *ND = dyn_cast<NamedDecl>(Dcl)) { in isDeclaratorFunctionLike()
|
H A D | SemaDecl.cpp | 6046 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg()); in ActOnDeclarator() local 6049 Dcl && Dcl->getDeclContext()->isFileContext()) in ActOnDeclarator() 6050 Dcl->setTopLevelDeclInObjCContainer(); in ActOnDeclarator() 6053 OpenMP().ActOnFinishedFunctionDefinitionInOpenMPDeclareVariantScope(Dcl, in ActOnDeclarator() 6056 return Dcl; in ActOnDeclarator() 15219 Decl *Dcl = ActOnStartOfFunctionDef(FnBodyScope, DP, SkipBody, BodyKind); in ActOnStartOfFunctionDef() local 15222 OpenMP().ActOnFinishedFunctionDefinitionInOpenMPDeclareVariantScope(Dcl, in ActOnStartOfFunctionDef() 15225 return Dcl; in ActOnStartOfFunctionDef()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 322 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl); 323 void RewriteImplementationDecl(Decl *Dcl); 330 void RewriteCategoryDecl(ObjCCategoryDecl *Dcl); 331 void RewriteProtocolDecl(ObjCProtocolDecl *Dcl); 340 void RewriteObjCQualifiedInterfaceTypes(Decl *Dcl); 2196 void RewriteModernObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes() argument 2200 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes() 2204 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes() 2215 else if (FieldDecl *FD = dyn_cast<FieldDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes() 2219 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1781 Decl *Dcl; member 1787 : P(parser), Dcl(D), HasCFunction(false) { in ObjCImplParsingDataRAII() 3132 void DistributeCLateParsedAttrs(Decl *Dcl, LateParsedAttrList *LateAttrs);
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 2267 DeclResult Dcl = Actions.ActOnCXXConditionDeclaration(getCurScope(), in ParseCXXCondition() local 2269 if (Dcl.isInvalid()) in ParseCXXCondition() 2271 Decl *DeclOut = Dcl.get(); in ParseCXXCondition()
|
H A D | ParseObjc.cpp | 2311 P.Diag(Dcl->getBeginLoc(), diag::note_objc_container_start) in ~ObjCImplParsingDataRAII() 2321 P.Actions.ObjC().DefaultSynthesizeProperties(P.getCurScope(), Dcl, in finish()
|
H A D | ParseDecl.cpp | 3356 void Parser::DistributeCLateParsedAttrs(Decl *Dcl, in DistributeCLateParsedAttrs() argument 3361 if (Dcl) { in DistributeCLateParsedAttrs() 3364 LateAttr->addDecl(Dcl); in DistributeCLateParsedAttrs()
|
H A D | ParseExpr.cpp | 2370 CurParsedObjCImpl ? CurParsedObjCImpl->Dcl in ParsePostfixExpressionSuffix()
|