• Home
  • Raw
  • Download

Lines Matching refs:FunctionDecl

292     if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC))  in getOutermostFuncOrBlockContext()
353 static bool shouldConsiderTemplateVisibility(const FunctionDecl *fn, in shouldConsiderTemplateVisibility()
373 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV()
532 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); in useInlineVisibilityHidden()
545 const FunctionDecl *Def = nullptr; in useInlineVisibilityHidden()
608 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()
623 const FunctionDecl *Func = dyn_cast<FunctionDecl>(D); in getLVForNamespaceScopeDecl()
726 } else if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) { in getLVForNamespaceScopeDecl()
1056 if (const FunctionDecl *fn = dyn_cast<FunctionDecl>(ND)) { in getExplicitVisibilityAux()
1066 FunctionDecl *InstantiatedFrom = fn->getInstantiatedFromMemberFunction(); in getExplicitVisibilityAux()
1103 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) { in getLVForLocalDecl()
1169 const FunctionDecl *FD = cast<FunctionDecl>(OuterD); in getLVForLocalDecl()
1382 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in printQualifiedName()
1436 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(this)) in declarationReplaces()
2259 void FunctionDecl::getNameForDiagnostic( in getNameForDiagnostic()
2268 bool FunctionDecl::isVariadic() const { in isVariadic()
2274 bool FunctionDecl::hasBody(const FunctionDecl *&Definition) const { in hasBody()
2285 bool FunctionDecl::hasTrivialBody() const in hasTrivialBody()
2299 bool FunctionDecl::isDefined(const FunctionDecl *&Definition) const { in isDefined()
2311 Stmt *FunctionDecl::getBody(const FunctionDecl *&Definition) const { in getBody()
2321 void FunctionDecl::setBody(Stmt *B) { in setBody()
2327 void FunctionDecl::setPure(bool P) { in setPure()
2340 bool FunctionDecl::isMain() const { in isMain()
2348 bool FunctionDecl::isMSVCRTEntryPoint() const { in isMSVCRTEntryPoint()
2375 bool FunctionDecl::isReservedGlobalPlacementOperator() const { in isReservedGlobalPlacementOperator()
2398 bool FunctionDecl::isReplaceableGlobalAllocationFunction() const { in isReplaceableGlobalAllocationFunction()
2439 FunctionDecl *
2440 FunctionDecl::getCorrespondingUnsizedGlobalDeallocationFunction() const { in getCorrespondingUnsizedGlobalDeallocationFunction()
2466 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(*RI)) in getCorrespondingUnsizedGlobalDeallocationFunction()
2472 LanguageLinkage FunctionDecl::getLanguageLinkage() const { in getLanguageLinkage()
2476 bool FunctionDecl::isExternC() const { in isExternC()
2480 bool FunctionDecl::isInExternCContext() const { in isInExternCContext()
2484 bool FunctionDecl::isInExternCXXContext() const { in isInExternCXXContext()
2488 bool FunctionDecl::isGlobal() const { in isGlobal()
2508 bool FunctionDecl::isNoReturn() const { in isNoReturn()
2515 FunctionDecl::setPreviousDeclaration(FunctionDecl *PrevDecl) { in setPreviousDeclaration()
2529 const FunctionDecl *FunctionDecl::getCanonicalDecl() const { in getCanonicalDecl()
2533 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
2544 unsigned FunctionDecl::getBuiltinID() const { in getBuiltinID()
2587 unsigned FunctionDecl::getNumParams() const { in getNumParams()
2592 void FunctionDecl::setParams(ASTContext &C, in setParams()
2604 void FunctionDecl::setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls) { in setDeclsInPrototypeScope()
2630 unsigned FunctionDecl::getMinRequiredArguments() const { in getMinRequiredArguments()
2646 bool FunctionDecl::isMSExternInline() const { in isMSExternInline()
2653 for (const FunctionDecl *FD = this; FD; FD = FD->getPreviousDecl()) in isMSExternInline()
2660 static bool redeclForcesDefMSVC(const FunctionDecl *Redecl) { in redeclForcesDefMSVC()
2664 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC()
2672 static bool RedeclForcesDefC99(const FunctionDecl *Redecl) { in RedeclForcesDefC99()
2694 bool FunctionDecl::doesDeclarationForceExternallyVisibleDefinition() const { in doesDeclarationForceExternallyVisibleDefinition()
2701 const FunctionDecl *Definition; in doesDeclarationForceExternallyVisibleDefinition()
2716 const FunctionDecl *Prev = this; in doesDeclarationForceExternallyVisibleDefinition()
2744 const FunctionDecl *Prev = this; in doesDeclarationForceExternallyVisibleDefinition()
2754 SourceRange FunctionDecl::getReturnTypeSourceRange() const { in getReturnTypeSourceRange()
2791 bool FunctionDecl::isInlineDefinitionExternallyVisible() const { in isInlineDefinitionExternallyVisible()
2839 OverloadedOperatorKind FunctionDecl::getOverloadedOperator() const { in getOverloadedOperator()
2848 const IdentifierInfo *FunctionDecl::getLiteralIdentifier() const { in getLiteralIdentifier()
2855 FunctionDecl::TemplatedKind FunctionDecl::getTemplatedKind() const { in getTemplatedKind()
2871 FunctionDecl *FunctionDecl::getInstantiatedFromMemberFunction() const { in getInstantiatedFromMemberFunction()
2873 return cast<FunctionDecl>(Info->getInstantiatedFrom()); in getInstantiatedFromMemberFunction()
2879 FunctionDecl::setInstantiationOfMemberFunction(ASTContext &C, in setInstantiationOfMemberFunction()
2880 FunctionDecl *FD, in setInstantiationOfMemberFunction()
2889 bool FunctionDecl::isImplicitlyInstantiable() const { in isImplicitlyInstantiable()
2913 const FunctionDecl *PatternDecl = getTemplateInstantiationPattern(); in isImplicitlyInstantiable()
2928 bool FunctionDecl::isTemplateInstantiation() const { in isTemplateInstantiation()
2941 FunctionDecl *FunctionDecl::getTemplateInstantiationPattern() const { in getTemplateInstantiationPattern()
2982 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate()
2991 FunctionDecl *FunctionDecl::getClassScopeSpecializationPattern() const { in getClassScopeSpecializationPattern()
2996 FunctionDecl::getTemplateSpecializationArgs() const { in getTemplateSpecializationArgs()
3006 FunctionDecl::getTemplateSpecializationArgsAsWritten() const { in getTemplateSpecializationArgsAsWritten()
3016 FunctionDecl::setFunctionTemplateSpecialization(ASTContext &C, in setFunctionTemplateSpecialization()
3037 FunctionDecl::setDependentTemplateSpecialization(ASTContext &Context, in setDependentTemplateSpecialization()
3070 TemplateSpecializationKind FunctionDecl::getTemplateSpecializationKind() const { in getTemplateSpecializationKind()
3087 FunctionDecl::setTemplateSpecializationKind(TemplateSpecializationKind TSK, in setTemplateSpecializationKind()
3108 SourceLocation FunctionDecl::getPointOfInstantiation() const { in getPointOfInstantiation()
3120 bool FunctionDecl::isOutOfLine() const { in isOutOfLine()
3126 if (FunctionDecl *FD = getInstantiatedFromMemberFunction()) { in isOutOfLine()
3127 const FunctionDecl *Definition; in isOutOfLine()
3135 const FunctionDecl *Definition; in isOutOfLine()
3143 SourceRange FunctionDecl::getSourceRange() const { in getSourceRange()
3147 unsigned FunctionDecl::getMemoryFunctionKind() const { in getMemoryFunctionKind()
3685 FunctionDecl *FunctionDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3693 FunctionDecl *New = in Create()
3694 new (C, DC) FunctionDecl(Function, C, DC, StartLoc, NameInfo, T, TInfo, in Create()
3700 FunctionDecl *FunctionDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3701 return new (C, ID) FunctionDecl(Function, C, nullptr, SourceLocation(), in CreateDeserialized()