/freebsd-13-stable/contrib/llvm-project/clang/lib/CrossTU/ |
H A D | CrossTranslationUnit.cpp | 201 static bool hasBodyOrInit(const FunctionDecl *D, const FunctionDecl *&DefD) { 325 llvm::Expected<const FunctionDecl *> 326 CrossTranslationUnitContext::getCrossTUDefinition(const FunctionDecl *FD, 730 llvm::Expected<const FunctionDecl *> 731 CrossTranslationUnitContext::importDefinition(const FunctionDecl *FD,
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangExpressionDeclMap.cpp | 692 FunctionDecl *copied_function_decl) { 732 if (clang::FunctionDecl *parser_function_decl = 733 llvm::dyn_cast<clang::FunctionDecl>(parser_named_decl)) { 1032 if (auto copied_function = dyn_cast<clang::FunctionDecl>(copied_decl)) { 1286 if (llvm::isa<clang::FunctionDecl>(decl)) { 1288 llvm::cast_or_null<FunctionDecl>(CopyDecl(decl)); 1732 clang::FunctionDecl *src_function_decl = 1733 llvm::dyn_cast_or_null<clang::FunctionDecl>(src_decl_context); 1758 if (clang::FunctionDecl *copied_function_decl = 1759 llvm::dyn_cast_or_null<clang::FunctionDecl>( [all...] |
H A D | ASTUtils.h | 155 void HandleInlineFunctionDefinition(clang::FunctionDecl *D) override { 175 void HandleCXXImplicitFunctionInstantiation(clang::FunctionDecl *D) override { 547 llvm::MapVector<const clang::FunctionDecl *,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclBase.cpp | 218 FunctionDecl *Decl::getAsFunction() { 219 if (auto *FD = dyn_cast<FunctionDecl>(this)) 231 if (auto *FD = dyn_cast<FunctionDecl>(this)) 700 } else if (const auto *FD = dyn_cast<FunctionDecl>(this)) { 948 // Special handling of FunctionDecl to avoid de-serializing the body from PCH. 949 // FunctionDecl stores EndRangeLoc for this purpose. 950 if (const auto *FD = dyn_cast<FunctionDecl>(this)) { 951 const FunctionDecl *Definition; 1031 } else if (auto *FD = dyn_cast<FunctionDecl>(D)) 1093 if (isa<FunctionDecl>(thi [all...] |
H A D | MicrosoftMangle.cpp | 114 static const FunctionDecl *getStructor(const NamedDecl *ND) { 118 const auto *FD = cast<FunctionDecl>(ND); 309 void mangleFunctionEncoding(const FunctionDecl *FD, bool ShouldMangle); 324 const FunctionDecl *D = nullptr, 378 void mangleFunctionClass(const FunctionDecl *FD); 427 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 496 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 508 void MicrosoftCXXNameMangler::mangleFunctionEncoding(const FunctionDecl *F [all...] |
H A D | CommentSema.cpp | 686 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 831 isa<FunctionDecl>(ThisDeclInfo->CurrentDecl); 837 if (const FunctionDecl *FD = 838 dyn_cast<FunctionDecl>(ThisDeclInfo->CurrentDecl))
|
H A D | ODRHash.cpp | 288 if (!isa<FunctionDecl>(D)) { 336 void VisitFunctionDecl(const FunctionDecl *D) { 337 // Handled by the ODRHash for FunctionDecl 344 // Handled by the ODRHash for FunctionDecl 492 if (auto *Function = dyn_cast<FunctionDecl>(SubDecl)) { 493 // Compute/Preload ODRHash into FunctionDecl. 519 void ODRHash::AddFunctionDecl(const FunctionDecl *Function, 527 if (auto *F = dyn_cast<FunctionDecl>(DC)) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiate.cpp | 62 const FunctionDecl *Pattern) { 138 else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(Ctx)) { 273 Sema &SemaRef, SourceLocation PointOfInstantiation, FunctionDecl *Entity, 546 } else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) { 646 FunctionDecl *FD = cast<FunctionDecl>(Param->getDeclContext()); 705 << cast<FunctionDecl>(Active->Entity); 711 << cast<FunctionDecl>(Activ [all...] |
H A D | SemaDeclCXX.cpp | 440 static bool functionDeclHasDefaultArgument(const FunctionDecl *FD) { 450 bool Sema::MergeCXXFunctionDecl(FunctionDecl *New, FunctionDecl *Old, 462 FunctionDecl *PrevForDefaultArgs = Old; 652 const FunctionDecl *Def; 1544 void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) { 1642 const FunctionDecl *FD, 1662 static bool CheckConstexprReturnType(Sema &SemaRef, const FunctionDecl *FD, 1685 static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl, 1695 bool Sema::CheckConstexprFunctionDefinition(const FunctionDecl *NewF [all...] |
H A D | SemaTemplateDeduction.cpp | 3151 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); 3493 unsigned NumExplicitlySpecified, FunctionDecl *&Specialization, 3546 Specialization = cast_or_null<FunctionDecl>( 3651 FunctionDecl *Fn) { 3701 if (FunctionDecl *ExplicitSpec 3707 if (FunctionDecl *Viable = 3731 FunctionDecl *Specialization = nullptr; 3740 FunctionDecl *Fn = cast<FunctionDecl>(D); 4011 FunctionDecl * [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 1302 const FunctionDecl *CalleeDecl, 1339 if (auto *FD = dyn_cast<FunctionDecl>(Decl)) 1354 static UsualDeleteParams getUsualDeleteParams(const FunctionDecl *FD) { 1402 const FunctionDecl *OperatorDelete; 1417 const FunctionDecl *OperatorDelete, ValueTy Ptr, 1554 FunctionDecl *allocator = E->getOperatorNew(); 1772 void CodeGenFunction::EmitDeleteCall(const FunctionDecl *DeleteFD, 1838 const FunctionDecl *OperatorDelete; 1842 const FunctionDecl *OperatorDelete, 1853 CodeGenFunction::pushCallObjectDeleteCleanup(const FunctionDecl *OperatorDelet [all...] |
H A D | CodeGenModule.h | 55 class FunctionDecl; 510 bool isTriviallyRecursive(const FunctionDecl *F); 1012 llvm::Constant *getBuiltinLibFunction(const FunctionDecl *FD, 1355 void CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD, 1392 const FunctionDecl *FD = nullptr, 1418 const FunctionDecl *FD); 1419 void UpdateMultiVersionNames(GlobalDecl GD, const FunctionDecl *FD);
|
H A D | CGCleanup.h | 30 class FunctionDecl; 596 static const EHPersonality &get(CodeGenModule &CGM, const FunctionDecl *FD);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 73 if (auto *DeclAsFunction = dyn_cast<FunctionDecl>(FnD)) { 82 if (auto *DeclAsFunction = dyn_cast<FunctionDecl>(FnD)) { 124 FunctionDecl *FD = FnD->getAsFunction(); 165 FunctionDecl *FD = FnD->getAsFunction(); 408 FunctionDecl *Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); 582 if (auto *FD = dyn_cast_or_null<FunctionDecl>(LM.D))
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 876 const FunctionDecl *FD) { 884 static bool isCXXSharedPtrDtor(const FunctionDecl *FD) { 911 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CalleeADC->getDecl())) { 914 if (FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate)
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexSymbol.cpp | 378 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 380 FunctionDecl::TK_FunctionTemplateSpecialization) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MacOSKeychainAPIChecker.cpp | 254 const FunctionDecl *FD = C.getCalleeDecl(CE); 405 const FunctionDecl *FD = C.getCalleeDecl(CE); 636 const FunctionDecl *funDecl = CE->getDirectCallee();
|
H A D | CastValueChecker.cpp | 262 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); 491 const FunctionDecl *FD = Call.getDecl()->getAsFunction();
|
H A D | DeadStoresChecker.cpp | 517 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
|
H A D | UnixAPIChecker.cpp | 106 const FunctionDecl *FD = C.getCalleeDecl(CE); 462 const FunctionDecl *FD = C.getCalleeDecl(CE);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 295 bool VisitFunctionDecl(FunctionDecl *FD) { 567 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Initialization.h | 912 FunctionDecl *Function; 923 /// Always a FunctionDecl, plus a Boolean flag telling if it was 1223 void AddAddressOverloadResolutionStep(FunctionDecl *Function, 1262 void AddUserConversionStep(FunctionDecl *Function,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ReachableCode.cpp | 63 if (const auto *FDecl = dyn_cast<FunctionDecl>(DRE->getDecl())) 215 const FunctionDecl *Callee = 216 dyn_cast_or_null<FunctionDecl>(cast<CallExpr>(S)->getCalleeDecl());
|
H A D | ThreadSafetyCommon.cpp | 282 if (isa<FunctionDecl>(D) 283 ? (cast<FunctionDecl>(D)->getCanonicalDecl() == Canonical) 292 VD = isa<FunctionDecl>(D) 293 ? cast<FunctionDecl>(D)->getCanonicalDecl()->getParamDecl(I) 378 if (const FunctionDecl *FD = CE->getDirectCallee()) { 827 : cast<FunctionDecl>(D)->parameters();
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.h | 352 clang::FunctionDecl *func_decl, const char *name, 356 clang::FunctionDecl *func_decl, clang::FunctionTemplateDecl *Template, 378 GetAsDeclContext(clang::FunctionDecl *function_decl); 413 clang::FunctionDecl * 437 void SetFunctionParameters(clang::FunctionDecl *function_decl, 550 static clang::FunctionDecl *
|