Home
last modified time | relevance | path

Searched defs:FuncDecl (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUncheckedOptionalAccessCheck.cpp41 analyzeFunction(const FunctionDecl &FuncDecl, ASTContext &ASTCtx) { in analyzeFunction()
96 const auto *FuncDecl = Result.Nodes.getNodeAs<FunctionDecl>(FuncID); in check() local
H A DAssertSideEffectCheck.cpp60 if (const auto *FuncDecl = CExpr->getDirectCallee()) { in AST_MATCHER_P2() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DDurationSubtractionCheck.cpp34 const auto *FuncDecl = Result.Nodes.getNodeAs<FunctionDecl>("function_decl"); in check() local
H A DDurationConversionCastCheck.cpp43 const auto *FuncDecl = Result.Nodes.getNodeAs<FunctionDecl>("func_decl"); in check() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvmlibc/
H A DCalleeNamespaceCheck.cpp44 const auto *FuncDecl = Result.Nodes.getNodeAs<FunctionDecl>("func"); in check() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DPostfixOperatorCheck.cpp28 const auto *FuncDecl = Result.Nodes.getNodeAs<FunctionDecl>("decl"); in check() local
H A DStrToNumCheck.cpp182 const FunctionDecl *FuncDecl = nullptr; in check() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNoexceptCheck.cpp59 if (const auto *FuncDecl = Result.Nodes.getNodeAs<FunctionDecl>("funcDecl")) { in check() local
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DFuchsiaHandleChecker.cpp319 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); in checkPreCall() local
362 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); in checkPostCall() local
571 const FunctionDecl *FuncDecl = in checkPointerEscape() local
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp172 if (const auto *FuncDecl = dyn_cast<FunctionDecl>(&DeclCtx)) { in Environment() local
214 const auto *FuncDecl = Call->getDirectCallee(); in pushCall() local
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3.cpp192 constexpr int FuncDecl() { in FuncDecl() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp210 if (const auto *FuncDecl = Nodes.getNodeAs<FunctionDecl>(FunctionDeclId)) { in constructorArgumentType() local
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp551 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation() local
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp1432 if (const FunctionDecl *FuncDecl = dyn_cast<FunctionDecl>(Decl)) { in migrateCFAnnotation() local
1457 const FunctionDecl *FuncDecl, in AddCFAnnotations()
1505 const FunctionDecl *FuncDecl) { in migrateAddFunctionAnnotation()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp1308 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition() local
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp4605 AbstractAssumeAlignedAttrEmitter(CodeGenFunction &CGF_, const Decl *FuncDecl) in AbstractAssumeAlignedAttrEmitter()
4649 AssumeAlignedAttrEmitter(CodeGenFunction &CGF_, const Decl *FuncDecl) in AssumeAlignedAttrEmitter()
4667 AllocAlignAttrEmitter(CodeGenFunction &CGF_, const Decl *FuncDecl, in AllocAlignAttrEmitter()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp1543 if (const FunctionDecl *FuncDecl = CXXCE->getDirectCallee()) in ActOnPropertyImplDecl() local
H A DSemaDeclAttr.cpp1741 const auto *FuncDecl = cast<FunctionDecl>(D); in AddAllocAlignAttr() local