Lines Matching defs:S

181 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr,  in checkAttributeNumArgsImpl()
194 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs()
203 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs()
212 static bool checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtMostNumArgs()
221 static bool checkUInt32Argument(Sema &S, const AttributeList &Attr, in checkUInt32Argument()
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()
383 static bool threadSafetyCheckIsSmartPointer(Sema &S, const RecordType* RT) { in threadSafetyCheckIsSmartPointer()
400 static bool threadSafetyCheckIsPointer(Sema &S, const Decl *D, in threadSafetyCheckIsPointer()
436 static bool checkRecordTypeForCapability(Sema &S, QualType Ty) { in checkRecordTypeForCapability()
480 static bool typeHasCapability(Sema &S, QualType Ty) { in typeHasCapability()
490 static bool isCapabilityExpr(Sema &S, const Expr *Ex) { in isCapabilityExpr()
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()
896 static bool checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, in checkForConsumableClass()
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()
1214 static bool attrNonNullArgCheck(Sema &S, QualType T, const AttributeList &Attr, in attrNonNullArgCheck()
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()
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()
1902 static bool checkAvailabilityAttr(Sema &S, SourceRange Range, in checkAvailabilityAttr()
2123 static void handleAvailabilityAttr(Sema &S, Decl *D, in handleAvailabilityAttr()
2243 static T *mergeVisibilityAttr(Sema &S, Decl *D, SourceRange range, in mergeVisibilityAttr()
2272 static void handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, in handleVisibilityAttr()
2325 static void handleObjCMethodFamilyAttr(Sema &S, Decl *decl, in handleObjCMethodFamilyAttr()
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()
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()
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()
3146 static void handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleAlignedAttr()
3365 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg()
3425 static void handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleModeAttr()
3581 static void handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNoDebugAttr()
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()
4047 static Expr *makeLaunchBoundsArgExpr(Sema &S, Expr *E, in makeLaunchBoundsArgExpr()
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()
4197 static bool isValidSubjectOfNSAttribute(Sema &S, QualType type) { in isValidSubjectOfNSAttribute()
4203 static bool isValidSubjectOfCFAttribute(Sema &S, QualType type) { in isValidSubjectOfCFAttribute()
4209 static void handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleNSConsumedAttr()
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()
5023 static void handleDLLAttr(Sema &S, Decl *D, const AttributeList &A) { in handleDLLAttr()
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()
5988 static void checkUnusedDeclAttributes(Sema &S, const AttributeList *A) { in checkUnusedDeclAttributes()
6064 void Sema::DeclApplyPragmaWeak(Scope *S, NamedDecl *ND, WeakInfo &W) { in DeclApplyPragmaWeak()
6087 void Sema::ProcessPragmaWeak(Scope *S, Decl *D) { in ProcessPragmaWeak()
6115 void Sema::ProcessDeclAttributes(Scope *S, Decl *D, const Declarator &PD) { in ProcessDeclAttributes()
6136 static bool isForbiddenTypeAllowed(Sema &S, Decl *decl, in isForbiddenTypeAllowed()
6171 static void handleDelayedForbiddenType(Sema &S, DelayedDiagnostic &diag, in handleDelayedForbiddenType()
6249 static void DoEmitAvailabilityWarning(Sema &S, Sema::AvailabilityDiagnostic K, in DoEmitAvailabilityWarning()
6400 static void handleDelayedAvailabilityCheck(Sema &S, DelayedDiagnostic &DD, in handleDelayedAvailabilityCheck()