Lines Matching defs:D
55 static bool isFunctionOrMethod(const Decl *D) { in isFunctionOrMethod()
61 static bool isFunctionOrMethodOrBlock(const Decl *D) { in isFunctionOrMethodOrBlock()
67 static bool hasDeclarator(const Decl *D) { in hasDeclarator()
76 static bool hasFunctionProto(const Decl *D) { in hasFunctionProto()
85 static unsigned getFunctionOrMethodNumParams(const Decl *D) { in getFunctionOrMethodNumParams()
93 static QualType getFunctionOrMethodParamType(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamType()
102 static SourceRange getFunctionOrMethodParamRange(const Decl *D, unsigned Idx) { in getFunctionOrMethodParamRange()
112 static QualType getFunctionOrMethodResultType(const Decl *D) { in getFunctionOrMethodResultType()
118 static SourceRange getFunctionOrMethodResultSourceRange(const Decl *D) { in getFunctionOrMethodResultSourceRange()
126 static bool isFunctionOrMethodVariadic(const Decl *D) { in isFunctionOrMethodVariadic()
137 static bool isInstanceMethod(const Decl *D) { in isInstanceMethod()
251 static bool checkAttrMutualExclusion(Sema &S, Decl *D, SourceRange Range, in checkAttrMutualExclusion()
266 static bool checkFunctionOrMethodParameterIndex(Sema &S, const Decl *D, in checkFunctionOrMethodParameterIndex()
349 static void handleSimpleAttribute(Sema &S, Decl *D, in handleSimpleAttribute()
356 static void handleSimpleAttributeWithExclusions(Sema &S, Decl *D, in handleSimpleAttributeWithExclusions()
365 static void handleSimpleAttributeWithExclusions(Sema &S, Decl *D, in handleSimpleAttributeWithExclusions()
400 static bool threadSafetyCheckIsPointer(Sema &S, const Decl *D, in threadSafetyCheckIsPointer()
521 static void checkAttrArgsAreCapabilityObjs(Sema &S, Decl *D, in checkAttrArgsAreCapabilityObjs()
599 static void handlePtGuardedVarAttr(Sema &S, Decl *D, in handlePtGuardedVarAttr()
609 static bool checkGuardedByAttrCommon(Sema &S, Decl *D, in checkGuardedByAttrCommon()
624 static void handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleGuardedByAttr()
633 static void handlePtGuardedByAttr(Sema &S, Decl *D, in handlePtGuardedByAttr()
647 static bool checkAcquireOrderAttrCommon(Sema &S, Decl *D, in checkAcquireOrderAttrCommon()
669 static void handleAcquiredAfterAttr(Sema &S, Decl *D, in handleAcquiredAfterAttr()
682 static void handleAcquiredBeforeAttr(Sema &S, Decl *D, in handleAcquiredBeforeAttr()
695 static bool checkLockFunAttrCommon(Sema &S, Decl *D, in checkLockFunAttrCommon()
705 static void handleAssertSharedLockAttr(Sema &S, Decl *D, in handleAssertSharedLockAttr()
718 static void handleAssertExclusiveLockAttr(Sema &S, Decl *D, in handleAssertExclusiveLockAttr()
733 static bool checkTryLockFunAttrCommon(Sema &S, Decl *D, in checkTryLockFunAttrCommon()
751 static void handleSharedTrylockFunctionAttr(Sema &S, Decl *D, in handleSharedTrylockFunctionAttr()
764 static void handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, in handleExclusiveTrylockFunctionAttr()
775 static void handleLockReturnedAttr(Sema &S, Decl *D, in handleLockReturnedAttr()
789 static void handleLocksExcludedAttr(Sema &S, Decl *D, in handleLocksExcludedAttr()
807 static void handleEnableIfAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleEnableIfAttr()
837 static void handlePassObjectSizeAttr(Sema &S, Decl *D, in handlePassObjectSizeAttr()
874 static void handleConsumableAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleConsumableAttr()
913 static void handleCallableWhenAttr(Sema &S, Decl *D, in handleCallableWhenAttr()
951 static void handleParamTypestateAttr(Sema &S, Decl *D, in handleParamTypestateAttr()
988 static void handleReturnTypestateAttr(Sema &S, Decl *D, in handleReturnTypestateAttr()
1036 static void handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleSetTypestateAttr()
1060 static void handleTestTypestateAttr(Sema &S, Decl *D, in handleTestTypestateAttr()
1085 static void handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, in handleExtVectorTypeAttr()
1091 static void handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handlePackedAttr()
1108 static bool checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) { in checkIBOutletCommon()
1134 static void handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) { in handleIBOutlet()
1143 static void handleIBOutletCollection(Sema &S, Decl *D, in handleIBOutletCollection()
1230 static void handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNonNullAttr()
1274 static void handleNonNullAttrParameter(Sema &S, ParmVarDecl *D, in handleNonNullAttrParameter()
1296 static void handleReturnsNonNullAttr(Sema &S, Decl *D, in handleReturnsNonNullAttr()
1309 static void handleAssumeAlignedAttr(Sema &S, Decl *D, in handleAssumeAlignedAttr()
1317 void Sema::AddAssumeAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAssumeAlignedAttr()
1379 static void handleOwnershipAttr(Sema &S, Decl *D, const AttributeList &AL) { in handleOwnershipAttr()
1488 static void handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleWeakRefAttr()
1552 static void handleIFuncAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleIFuncAttr()
1574 static void handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleAliasAttr()
1607 static void handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleColdAttr()
1615 static void handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleHotAttr()
1623 static void handleTLSModelAttr(Sema &S, Decl *D, in handleTLSModelAttr()
1643 static void handleRestrictAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleRestrictAttr()
1655 static void handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleCommonAttr()
1667 static void handleNakedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNakedAttr()
1676 static void handleNoReturnAttr(Sema &S, Decl *D, const AttributeList &attr) { in handleNoReturnAttr()
1701 static void handleAnalyzerNoReturnAttr(Sema &S, Decl *D, in handleAnalyzerNoReturnAttr()
1724 static void handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleVecReturnAttr()
1779 static void handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, in handleDependencyAttr()
1796 static void handleNotTailCalledAttr(Sema &S, Decl *D, in handleNotTailCalledAttr()
1806 static void handleDisableTailCallsAttr(Sema &S, Decl *D, in handleDisableTailCallsAttr()
1816 static void handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleUsedAttr()
1833 static void handleUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleUnusedAttr()
1855 static void handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleConstructorAttr()
1866 static void handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleDestructorAttr()
1878 static void handleAttrWithMessage(Sema &S, Decl *D, in handleAttrWithMessage()
1889 static void handleObjCSuppresProtocolAttr(Sema &S, Decl *D, in handleObjCSuppresProtocolAttr()
1959 AvailabilityAttr *Sema::mergeAvailabilityAttr(NamedDecl *D, SourceRange Range, in mergeAvailabilityAttr()
2123 static void handleAvailabilityAttr(Sema &S, Decl *D, in handleAvailabilityAttr()
2243 static T *mergeVisibilityAttr(Sema &S, Decl *D, SourceRange range, in mergeVisibilityAttr()
2258 VisibilityAttr *Sema::mergeVisibilityAttr(Decl *D, SourceRange Range, in mergeVisibilityAttr()
2265 TypeVisibilityAttr *Sema::mergeTypeVisibilityAttr(Decl *D, SourceRange Range, in mergeTypeVisibilityAttr()
2272 static void handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, in handleVisibilityAttr()
2355 static void handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) { in handleObjCNSObject()
2384 static void handleObjCIndependentClass(Sema &S, Decl *D, const AttributeList &Attr) { in handleObjCIndependentClass()
2400 static void handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleBlocksAttr()
2420 static void handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleSentinelAttr()
2511 static void handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) { in handleWarnUnusedResult()
2536 static void handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleWeakImportAttr()
2561 static void handleWorkGroupSize(Sema &S, Decl *D, in handleWorkGroupSize()
2586 static void handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) { in handleVecTypeHint()
2617 SectionAttr *Sema::mergeSectionAttr(Decl *D, SourceRange Range, in mergeSectionAttr()
2640 static void handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleSectionAttr()
2675 static void handleTargetAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleTargetAttr()
2687 static void handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleCleanupAttr()
2752 static void handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleFormatArgAttr()
2824 static void handleInitPriorityAttr(Sema &S, Decl *D, in handleInitPriorityAttr()
2863 FormatAttr *Sema::mergeFormatAttr(Decl *D, SourceRange Range, in mergeFormatAttr()
2886 static void handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleFormatAttr()
3008 static void handleTransparentUnionAttr(Sema &S, Decl *D, in handleTransparentUnionAttr()
3077 static void handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleAnnotateAttr()
3095 static void handleAlignValueAttr(Sema &S, Decl *D, in handleAlignValueAttr()
3101 void Sema::AddAlignValueAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignValueAttr()
3146 static void handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleAlignedAttr()
3184 void Sema::AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignedAttr()
3287 void Sema::AddAlignedAttr(SourceRange AttrRange, Decl *D, TypeSourceInfo *TS, in AddAlignedAttr()
3297 void Sema::CheckAlignasUnderalignment(Decl *D) { in CheckAlignasUnderalignment()
3425 static void handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleModeAttr()
3439 void Sema::AddModeAttr(SourceRange AttrRange, Decl *D, IdentifierInfo *Name, in AddModeAttr()
3581 static void handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNoDebugAttr()
3587 AlwaysInlineAttr *Sema::mergeAlwaysInlineAttr(Decl *D, SourceRange Range, in mergeAlwaysInlineAttr()
3603 CommonAttr *Sema::mergeCommonAttr(Decl *D, SourceRange Range, in mergeCommonAttr()
3613 Sema::mergeInternalLinkageAttr(Decl *D, SourceRange Range, in mergeInternalLinkageAttr()
3639 MinSizeAttr *Sema::mergeMinSizeAttr(Decl *D, SourceRange Range, in mergeMinSizeAttr()
3653 OptimizeNoneAttr *Sema::mergeOptimizeNoneAttr(Decl *D, SourceRange Range, in mergeOptimizeNoneAttr()
3673 static void handleAlwaysInlineAttr(Sema &S, Decl *D, in handleAlwaysInlineAttr()
3685 static void handleMinSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleMinSizeAttr()
3691 static void handleOptimizeNoneAttr(Sema &S, Decl *D, in handleOptimizeNoneAttr()
3698 static void handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleGlobalAttr()
3731 static void handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleGNUInlineAttr()
3743 static void handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleCallConvAttr()
3950 static void handleParameterABIAttr(Sema &S, Decl *D, const AttributeList &attr, in handleParameterABIAttr()
3956 void Sema::AddParameterABIAttr(SourceRange range, Decl *D, ParameterABI abi, in AddParameterABIAttr()
4084 void Sema::AddLaunchBoundsAttr(SourceRange AttrRange, Decl *D, Expr *MaxThreads, in AddLaunchBoundsAttr()
4102 static void handleLaunchBoundsAttr(Sema &S, Decl *D, in handleLaunchBoundsAttr()
4113 static void handleArgumentWithTypeTagAttr(Sema &S, Decl *D, in handleArgumentWithTypeTagAttr()
4158 static void handleTypeTagForDatatypeAttr(Sema &S, Decl *D, in handleTypeTagForDatatypeAttr()
4209 static void handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNSConsumedAttr()
4215 void Sema::AddNSConsumedAttr(SourceRange attrRange, Decl *D, in AddNSConsumedAttr()
4251 static void handleNSReturnsRetainedAttr(Sema &S, Decl *D, in handleNSReturnsRetainedAttr()
4363 static void handleObjCReturnsInnerPointerAttr(Sema &S, Decl *D, in handleObjCReturnsInnerPointerAttr()
4391 static void handleObjCRequiresSuperAttr(Sema &S, Decl *D, in handleObjCRequiresSuperAttr()
4413 static void handleCFAuditedTransferAttr(Sema &S, Decl *D, in handleCFAuditedTransferAttr()
4424 static void handleCFUnknownTransferAttr(Sema &S, Decl *D, in handleCFUnknownTransferAttr()
4435 static void handleObjCBridgeAttr(Sema &S, Scope *Sc, Decl *D, in handleObjCBridgeAttr()
4465 static void handleObjCBridgeMutableAttr(Sema &S, Scope *Sc, Decl *D, in handleObjCBridgeMutableAttr()
4479 static void handleObjCBridgeRelatedAttr(Sema &S, Scope *Sc, Decl *D, in handleObjCBridgeRelatedAttr()
4497 static void handleObjCDesignatedInitializer(Sema &S, Decl *D, in handleObjCDesignatedInitializer()
4515 static void handleObjCRuntimeName(Sema &S, Decl *D, in handleObjCRuntimeName()
4530 static void handleObjCBoxable(Sema &S, Decl *D, const AttributeList &Attr) { in handleObjCBoxable()
4553 static void handleObjCOwnershipAttr(Sema &S, Decl *D, in handleObjCOwnershipAttr()
4561 static void handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, in handleObjCPreciseLifetimeAttr()
4606 static void handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleUuidAttr()
4651 static void handleMSInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleMSInheritanceAttr()
4667 static void handleDeclspecThreadAttr(Sema &S, Decl *D, in handleDeclspecThreadAttr()
4686 static void handleAbiTagAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleAbiTagAttr()
4718 static void handleARMInterruptAttr(Sema &S, Decl *D, in handleARMInterruptAttr()
4747 static void handleMSP430InterruptAttr(Sema &S, Decl *D, in handleMSP430InterruptAttr()
4783 static void handleMipsInterruptAttr(Sema &S, Decl *D, in handleMipsInterruptAttr()
4842 static void handleAnyX86InterruptAttr(Sema &S, Decl *D, in handleAnyX86InterruptAttr()
4908 static void handleInterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleInterruptAttr()
4928 static void handleAMDGPUNumVGPRAttr(Sema &S, Decl *D, in handleAMDGPUNumVGPRAttr()
4941 static void handleAMDGPUNumSGPRAttr(Sema &S, Decl *D, in handleAMDGPUNumSGPRAttr()
4954 static void handleX86ForceAlignArgPointerAttr(Sema &S, Decl *D, in handleX86ForceAlignArgPointerAttr()
4979 static void handleLayoutVersion(Sema &S, Decl *D, const AttributeList &Attr) { in handleLayoutVersion()
4997 DLLImportAttr *Sema::mergeDLLImportAttr(Decl *D, SourceRange Range, in mergeDLLImportAttr()
5010 DLLExportAttr *Sema::mergeDLLExportAttr(Decl *D, SourceRange Range, in mergeDLLExportAttr()
5023 static void handleDLLAttr(Sema &S, Decl *D, const AttributeList &A) { in handleDLLAttr()
5058 Sema::mergeMSInheritanceAttr(Decl *D, SourceRange Range, bool BestCase, in mergeMSInheritanceAttr()
5093 static void handleCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleCapabilityAttr()
5117 static void handleAssertCapabilityAttr(Sema &S, Decl *D, in handleAssertCapabilityAttr()
5124 static void handleAcquireCapabilityAttr(Sema &S, Decl *D, in handleAcquireCapabilityAttr()
5136 static void handleTryAcquireCapabilityAttr(Sema &S, Decl *D, in handleTryAcquireCapabilityAttr()
5150 static void handleReleaseCapabilityAttr(Sema &S, Decl *D, in handleReleaseCapabilityAttr()
5161 static void handleRequiresCapabilityAttr(Sema &S, Decl *D, in handleRequiresCapabilityAttr()
5179 static void handleDeprecatedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleDeprecatedAttr()
5213 static void handleNoSanitizeAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNoSanitizeAttr()
5237 static void handleNoSanitizeSpecificAttr(Sema &S, Decl *D, in handleNoSanitizeSpecificAttr()
5252 static void handleInternalLinkageAttr(Sema &S, Decl *D, in handleInternalLinkageAttr()
5260 static void handleOpenCLNoSVMAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleOpenCLNoSVMAttr()
5272 static bool handleCommonAttributeFeatures(Sema &S, Scope *scope, Decl *D, in handleCommonAttributeFeatures()
5310 static void handleOpenCLAccessAttr(Sema &S, Decl *D, in handleOpenCLAccessAttr()
5351 static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, in ProcessDeclAttribute()
5924 void Sema::ProcessDeclAttributeList(Scope *S, Decl *D, in ProcessDeclAttributeList()
6007 void Sema::checkUnusedDeclAttributes(Declarator &D) { in checkUnusedDeclAttributes()
6087 void Sema::ProcessPragmaWeak(Scope *S, Decl *D) { in ProcessPragmaWeak()
6115 void Sema::ProcessDeclAttributes(Scope *S, Decl *D, const Declarator &PD) { in ProcessDeclAttributes()
6197 static bool isDeclDeprecated(Decl *D) { in isDeclDeprecated()
6209 static bool isDeclUnavailable(Decl *D) { in isDeclUnavailable()
6222 const Decl *D) { in getAttrForPlatform()
6250 Decl *Ctx, const NamedDecl *D, in DoEmitAvailabilityWarning()
6470 NamedDecl *D, StringRef Message, in EmitAvailabilityWarning()