Searched refs:FunctionDecl (Results 176 - 200 of 291) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DContainerModeling.cpp112 bool isBeginCall(const FunctionDecl *Func);
113 bool isEndCall(const FunctionDecl *Func);
162 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
762 bool isBeginCall(const FunctionDecl *Func) {
769 bool isEndCall(const FunctionDecl *Func) {
H A DInnerPointerChecker.cpp154 const FunctionDecl *FD = FC->getDecl();
H A DMallocOverflowSecurityChecker.cpp313 const FunctionDecl *FD = TheCall->getDirectCallee();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp367 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl))
592 void Sema::checkFortifiedBuiltinMemoryFunction(FunctionDecl *FD,
1437 Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID,
4040 /// Given a FunctionDecl's FormatAttr, attempts to populate the FomatStringInfo
4194 if (FDecl && (isa<FunctionDecl>(FDecl) || isa<ObjCMethodDecl>(FDecl))) {
4198 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(FDecl))
4282 auto *FD = dyn_cast_or_null<FunctionDecl>(FDecl);
4286 : FDecl && isa<FunctionDecl>(FDec
[all...]
H A DSemaTemplate.cpp162 isa<FunctionDecl>((*I)->getUnderlyingDecl()))
489 return isa<FunctionDecl>(ND->getUnderlyingDecl());
789 assert(isa<TagDecl>(Instantiation) || isa<FunctionDecl>(Instantiation) ||
826 if (isa<FunctionDecl>(Instantiation)) {
840 if (isa<FunctionDecl>(Instantiation)) {
6444 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity);
7111 if (FunctionDecl *Fn = ResolveAddressOfOverloadedFunction(Arg, ParamType,
7163 if (FunctionDecl *Fn = ResolveAddressOfOverloadedFunction(Arg,
7817 if (FunctionDecl *Functio
[all...]
H A DCodeCompleteConsumer.cpp487 FunctionDecl *CodeCompleteConsumer::OverloadCandidate::getFunction() const {
696 if (const auto *Function = dyn_cast<FunctionDecl>(Declaration))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h468 /// which is a FunctionDecl that has been explicitly specialization or
476 llvm::PointerIntPair<FunctionDecl *, 1, bool> Function;
499 FunctionDecl *FD, FunctionTemplateDecl *Template,
519 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
526 FunctionDecl *getFunction() const { return Function.getPointer(); }
964 using DeclType = FunctionDecl;
979 friend class FunctionDecl;
1032 FunctionDecl *getTemplatedDecl() const {
1033 return static_cast<FunctionDecl *>(TemplatedDecl);
1044 FunctionDecl *findSpecializatio
[all...]
H A DExprCXX.h2101 FunctionDecl *OperatorNew;
2104 FunctionDecl *OperatorDelete;
2158 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew,
2159 FunctionDecl *OperatorDelete, bool ShouldPassAlignment,
2173 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew,
2174 FunctionDecl *OperatorDelete, bool ShouldPassAlignment,
2211 FunctionDecl *getOperatorNew() const { return OperatorNew; }
2212 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; }
2213 FunctionDecl *getOperatorDelete() const { return OperatorDelete; }
2214 void setOperatorDelete(FunctionDecl *
[all...]
H A DASTNodeTraverser.h102 if (!isa<FunctionDecl>(*D) && !isa<ObjCMethodDecl>(*D)) {
384 void VisitFunctionDecl(const FunctionDecl *D) {
H A DDeclBase.h48 class FunctionDecl;
1062 FunctionDecl *getAsFunction() LLVM_READONLY;
1064 const FunctionDecl *getAsFunction() const {
1296 /// FunctionDecl
1508 /// Stores the bits used by FunctionDecl.
1510 /// methods in FunctionDecl and CXXDeductionGuideDecl
1513 friend class FunctionDecl;
H A DMangle.h33 class FunctionDecl;
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp267 const FunctionDecl *FD) {
435 CodeGenTypes::arrangeFunctionDeclaration(const FunctionDecl *FD) {
516 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
1917 // The NoBuiltinAttr attached to the target FunctionDecl.
1937 if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) {
2009 // * FunctionDecl attributes: __attribute__((no_builtin(...)))
2030 if (auto *Fn = dyn_cast<FunctionDecl>(TargetDecl)) {
2361 if (const FunctionDecl *F
[all...]
H A DTargetInfo.cpp818 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(D)) {
839 if (auto *FD = dyn_cast_or_null<FunctionDecl>(D)) {
2098 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
2470 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
2483 const FunctionDecl *Caller,
2484 const FunctionDecl *Callee,
2490 const FunctionDecl *Caller,
2492 const FunctionDecl *Calle
[all...]
H A DCGDebugInfo.cpp250 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
251 assert(FD && "Invalid FunctionDecl!");
1597 if (isa<FunctionDecl>(RD->getDeclContext()))
1897 else if (const auto *FD = dyn_cast<FunctionDecl>(D))
1970 CGDebugInfo::CollectFunctionTemplateParams(const FunctionDecl *FD,
1973 FunctionDecl::TK_FunctionTemplateSpecialization) {
2271 if (FunctionDecl *Tmpl = MD->getInstantiatedFromMemberFunction())
3429 const auto *FD = cast<FunctionDecl>(GD.getDecl());
3483 if (VD->getDeclContext() && !isa<FunctionDecl>(VD->getDeclContext()) &&
3529 auto *FD = cast<FunctionDecl>(G
[all...]
H A DCGException.cpp215 const FunctionDecl *FD) {
237 return get(CGF.CGM, dyn_cast_or_null<FunctionDecl>(FD));
450 const FunctionDecl* FD = dyn_cast_or_null<FunctionDecl>(D);
539 const FunctionDecl* FD = dyn_cast_or_null<FunctionDecl>(D);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1624 FunctionDecl *D1, FunctionDecl *D2) {
1912 } else if (FunctionDecl *FD1 = dyn_cast<FunctionDecl>(D1)) {
1913 if (FunctionDecl *FD2 = dyn_cast<FunctionDecl>(D2)) {
H A DExprClassification.cpp234 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
463 (isa<FunctionDecl>(D) || isa<MSPropertyDecl>(D) ||
491 return (isa<FunctionDecl>(E->getMemberDecl())
H A DASTContext.cpp117 if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
311 if (const auto *FD = dyn_cast<FunctionDecl>(&D)) {
325 if (const FunctionDecl *MemberDecl =
574 if (isa<ObjCMethodDecl>(D) || isa<FunctionDecl>(D)) {
2949 void ASTContext::adjustDeducedFunctionResultType(FunctionDecl *FD,
2956 if (FunctionDecl *Next = FD->getPreviousDecl())
3029 FunctionDecl *FD, const FunctionProtoType::ExceptionSpecInfo &ESI,
4239 FunctionType::ExceptionType, Expr *, FunctionDecl *,
6809 ASTContext::getObjCEncodingForFunctionDecl(const FunctionDecl *Decl) const {
8185 bool ASTContext::canBuiltinBeRedeclared(const FunctionDecl *F
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h39 class FunctionDecl;
162 /// CodeTextRegion wrapping a FunctionDecl, return that FunctionDecl.
164 const FunctionDecl *getAsFunctionDecl() const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp95 if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
296 if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
297 // Calling 'hasBody' replaces 'FD' in place with the FunctionDecl
H A DExprMutationAnalyzer.cpp403 const auto *Func = Nodes.getNodeAs<FunctionDecl>("func");
438 const FunctionDecl &Func, ASTContext &Context)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp93 if (auto FD = dyn_cast<FunctionDecl>(D->getDeclContext())) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp443 if (auto *FD = dyn_cast<FunctionDecl>(D))
H A DASTWriterDecl.cpp90 void VisitFunctionDecl(FunctionDecl *D);
280 // Handle FunctionDecl's body here and write it after all other Stmts/Exprs
283 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
538 void ASTDeclWriter::VisitFunctionDecl(FunctionDecl *D) {
544 // FunctionDecl's body is handled last at ASTWriterDecl::Visit,
584 case FunctionDecl::TK_NonTemplate:
586 case FunctionDecl::TK_FunctionTemplate:
589 case FunctionDecl::TK_MemberSpecialization: {
596 case FunctionDecl
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h234 if (const auto *FD = dyn_cast<FunctionDecl>(Parent))

Completed in 301 milliseconds

1234567891011>>