Lines Matching refs:Sema

192 static bool checkAttributeNumArgsImpl(Sema &S, const ParsedAttr &AL,  in checkAttributeNumArgsImpl()
205 static bool checkAttributeNumArgs(Sema &S, const ParsedAttr &AL, unsigned Num) { in checkAttributeNumArgs()
213 static bool checkAttributeAtLeastNumArgs(Sema &S, const ParsedAttr &AL, in checkAttributeAtLeastNumArgs()
222 static bool checkAttributeAtMostNumArgs(Sema &S, const ParsedAttr &AL, in checkAttributeAtMostNumArgs()
244 static bool checkUInt32Argument(Sema &S, const AttrInfo &AI, const Expr *Expr, in checkUInt32Argument()
280 static bool checkPositiveIntArgument(Sema &S, const AttrInfo &AI, const Expr *Expr, in checkPositiveIntArgument()
301 static bool checkAttrMutualExclusion(Sema &S, Decl *D, const ParsedAttr &AL) { in checkAttrMutualExclusion()
311 static bool checkAttrMutualExclusion(Sema &S, Decl *D, const Attr &AL) { in checkAttrMutualExclusion()
327 Sema &S, const Decl *D, const AttrInfo &AI, unsigned AttrArgNum, in checkFunctionOrMethodParameterIndex()
370 bool Sema::checkStringLiteralArgumentAttr(const ParsedAttr &AL, unsigned ArgNum, in checkStringLiteralArgumentAttr()
405 static void handleSimpleAttribute(Sema &S, Decl *D, in handleSimpleAttribute()
411 static const Sema::SemaDiagnosticBuilder&
412 appendDiagnostics(const Sema::SemaDiagnosticBuilder &Bldr) { in appendDiagnostics()
417 static const Sema::SemaDiagnosticBuilder&
418 appendDiagnostics(const Sema::SemaDiagnosticBuilder &Bldr, T &&ExtraArg, in appendDiagnostics()
429 static void handleSimpleAttributeOrDiagnose(Sema &S, Decl *D, in handleSimpleAttributeOrDiagnose()
434 Sema::SemaDiagnosticBuilder DB = S.Diag(D->getBeginLoc(), DiagID); in handleSimpleAttributeOrDiagnose()
442 static void handleSimpleAttributeWithExclusions(Sema &S, Decl *D, in handleSimpleAttributeWithExclusions()
451 static void handleSimpleAttributeWithExclusions(Sema &S, Decl *D, in handleSimpleAttributeWithExclusions()
468 static bool threadSafetyCheckIsSmartPointer(Sema &S, const RecordType* RT) { in threadSafetyCheckIsSmartPointer()
504 static bool threadSafetyCheckIsPointer(Sema &S, const Decl *D, in threadSafetyCheckIsPointer()
562 static bool checkRecordTypeForCapability(Sema &S, QualType Ty) { in checkRecordTypeForCapability()
592 static bool typeHasCapability(Sema &S, QualType Ty) { in typeHasCapability()
602 static bool isCapabilityExpr(Sema &S, const Expr *Ex) { in isCapabilityExpr()
632 static void checkAttrArgsAreCapabilityObjs(Sema &S, Decl *D, in checkAttrArgsAreCapabilityObjs()
729 static void handlePtGuardedVarAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePtGuardedVarAttr()
736 static bool checkGuardedByAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkGuardedByAttrCommon()
750 static void handleGuardedByAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGuardedByAttr()
758 static void handlePtGuardedByAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePtGuardedByAttr()
769 static bool checkAcquireOrderAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkAcquireOrderAttrCommon()
789 static void handleAcquiredAfterAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAcquiredAfterAttr()
799 static void handleAcquiredBeforeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAcquiredBeforeAttr()
809 static bool checkLockFunAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkLockFunAttrCommon()
818 static void handleAssertSharedLockAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssertSharedLockAttr()
829 static void handleAssertExclusiveLockAttr(Sema &S, Decl *D, in handleAssertExclusiveLockAttr()
847 static bool checkParamIsIntegerType(Sema &S, const FunctionDecl *FD, in checkParamIsIntegerType()
866 static void handleAllocSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAllocSizeAttr()
902 static bool checkTryLockFunAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkTryLockFunAttrCommon()
919 static void handleSharedTrylockFunctionAttr(Sema &S, Decl *D, in handleSharedTrylockFunctionAttr()
929 static void handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, in handleExclusiveTrylockFunctionAttr()
939 static void handleLockReturnedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLockReturnedAttr()
950 static void handleLocksExcludedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLocksExcludedAttr()
966 static bool checkFunctionConditionAttr(Sema &S, Decl *D, const ParsedAttr &AL, in checkFunctionConditionAttr()
994 static void handleEnableIfAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleEnableIfAttr()
1049 static void handleDiagnoseIfAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDiagnoseIfAttr()
1075 static void handleNoBuiltinAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoBuiltinAttr()
1125 static void handlePassObjectSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePassObjectSizeAttr()
1157 static void handleConsumableAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleConsumableAttr()
1177 static bool checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, in checkForConsumableClass()
1192 static void handleCallableWhenAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCallableWhenAttr()
1227 static void handleParamTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleParamTypestateAttr()
1261 static void handleReturnTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleReturnTypestateAttr()
1306 static void handleSetTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSetTypestateAttr()
1328 static void handleTestTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTestTypestateAttr()
1350 static void handleExtVectorTypeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleExtVectorTypeAttr()
1355 static void handlePackedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePackedAttr()
1383 static bool checkIBOutletCommon(Sema &S, Decl *D, const ParsedAttr &AL) { in checkIBOutletCommon()
1409 static void handleIBOutlet(Sema &S, Decl *D, const ParsedAttr &AL) { in handleIBOutlet()
1416 static void handleIBOutletCollection(Sema &S, Decl *D, const ParsedAttr &AL) { in handleIBOutletCollection()
1459 bool Sema::isValidPointerAttrType(QualType T, bool RefOkay) { in isValidPointerAttrType()
1483 static bool attrNonNullArgCheck(Sema &S, QualType T, const ParsedAttr &AL, in attrNonNullArgCheck()
1499 static void handleNonNullAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNonNullAttr()
1542 static void handleNonNullAttrParameter(Sema &S, ParmVarDecl *D, in handleNonNullAttrParameter()
1562 static void handleReturnsNonNullAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleReturnsNonNullAttr()
1572 static void handleNoEscapeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoEscapeAttr()
1587 static void handleAssumeAlignedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssumeAlignedAttr()
1593 static void handleAllocAlignAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAllocAlignAttr()
1597 void Sema::AddAssumeAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, in AddAssumeAlignedAttr()
1631 if (*I > Sema::MaximumAlignment) in AddAssumeAlignedAttr()
1633 << CI.getRange() << Sema::MaximumAlignment; in AddAssumeAlignedAttr()
1646 void Sema::AddAllocAlignAttr(Decl *D, const AttributeCommonInfo &CI, in AddAllocAlignAttr()
1689 static void handleOwnershipAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOwnershipAttr()
1791 static void handleWeakRefAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWeakRefAttr()
1849 static void handleIFuncAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleIFuncAttr()
1864 static void handleAliasAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAliasAttr()
1896 LookupResult LR(S, target, Sema::LookupOrdinaryName); in handleAliasAttr()
1905 static void handleTLSModelAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTLSModelAttr()
1922 static void handleRestrictAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleRestrictAttr()
1933 static void handleCPUSpecificAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCPUSpecificAttr()
1983 static void handleCommonAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCommonAttr()
1994 static void handleCmseNSEntryAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCmseNSEntryAttr()
2009 static void handleNakedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNakedAttr()
2027 static void handleNoReturnAttr(Sema &S, Decl *D, const ParsedAttr &Attrs) { in handleNoReturnAttr()
2039 static void handleNoCfCheckAttr(Sema &S, Decl *D, const ParsedAttr &Attrs) { in handleNoCfCheckAttr()
2046 bool Sema::CheckAttrNoArgs(const ParsedAttr &Attrs) { in CheckAttrNoArgs()
2055 bool Sema::CheckAttrTarget(const ParsedAttr &AL) { in CheckAttrTarget()
2067 static void handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAnalyzerNoReturnAttr()
2087 static void handleVecReturnAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleVecReturnAttr()
2141 static void handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, in handleDependencyAttr()
2156 static void handleUnusedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleUnusedAttr()
2167 static void handleConstructorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleConstructorAttr()
2176 static void handleDestructorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDestructorAttr()
2186 static void handleAttrWithMessage(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAttrWithMessage()
2195 static void handleObjCSuppresProtocolAttr(Sema &S, Decl *D, in handleObjCSuppresProtocolAttr()
2206 static bool checkAvailabilityAttr(Sema &S, SourceRange Range, in checkAvailabilityAttr()
2263 AvailabilityAttr *Sema::mergeAvailabilityAttr( in mergeAvailabilityAttr()
2418 static void handleAvailabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAvailabilityAttr()
2454 ? Sema::AP_PragmaClangAttribute in handleAvailabilityAttr()
2455 : Sema::AP_Explicit; in handleAvailabilityAttr()
2459 Sema::AMK_None, PriorityModifier); in handleAvailabilityAttr()
2499 Sema::AMK_None, in handleAvailabilityAttr()
2500 PriorityModifier + Sema::AP_InferredFromOtherPlatform); in handleAvailabilityAttr()
2517 Replacement, Sema::AMK_None, in handleAvailabilityAttr()
2518 PriorityModifier + Sema::AP_InferredFromOtherPlatform); in handleAvailabilityAttr()
2525 static void handleExternalSourceSymbolAttr(Sema &S, Decl *D, in handleExternalSourceSymbolAttr()
2545 static T *mergeVisibilityAttr(Sema &S, Decl *D, const AttributeCommonInfo &CI, in mergeVisibilityAttr()
2559 VisibilityAttr *Sema::mergeVisibilityAttr(Decl *D, in mergeVisibilityAttr()
2566 Sema::mergeTypeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, in mergeTypeVisibilityAttr()
2571 static void handleVisibilityAttr(Sema &S, Decl *D, const ParsedAttr &AL, in handleVisibilityAttr()
2621 static void handleObjCNonRuntimeProtocolAttr(Sema &S, Decl *D, in handleObjCNonRuntimeProtocolAttr()
2626 static void handleObjCDirectAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCDirectAttr()
2640 static void handleObjCDirectMembersAttr(Sema &S, Decl *D, in handleObjCDirectMembersAttr()
2649 static void handleObjCMethodFamilyAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCMethodFamilyAttr()
2675 static void handleObjCNSObject(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCNSObject()
2702 static void handleObjCIndependentClass(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCIndependentClass()
2716 static void handleBlocksAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleBlocksAttr()
2733 static void handleSentinelAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSentinelAttr()
2820 static void handleWarnUnusedResult(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWarnUnusedResult()
2864 static void handleWeakImportAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWeakImportAttr()
2887 static void handleWorkGroupSize(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWorkGroupSize()
2912 static void handleSubGroupSize(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSubGroupSize()
2932 static void handleVecTypeHint(Sema &S, Decl *D, const ParsedAttr &AL) { in handleVecTypeHint()
2959 SectionAttr *Sema::mergeSectionAttr(Decl *D, const AttributeCommonInfo &CI, in mergeSectionAttr()
2979 bool Sema::checkSectionName(SourceLocation LiteralLoc, StringRef SecName) { in checkSectionName()
2989 static void handleSectionAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSectionAttr()
3015 static bool checkCodeSegName(Sema &S, SourceLocation LiteralLoc, in checkCodeSegName()
3028 CodeSegAttr *Sema::mergeCodeSegAttr(Decl *D, const AttributeCommonInfo &CI, in mergeCodeSegAttr()
3047 static void handleCodeSegAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCodeSegAttr()
3070 bool Sema::checkTargetAttr(SourceLocation LiteralLoc, StringRef AttrStr) { in checkTargetAttr()
3125 static void handleTargetAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTargetAttr()
3136 static void handleMinVectorWidthAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMinVectorWidthAttr()
3153 static void handleCleanupAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCleanupAttr()
3199 ParamTy, Ty) != Sema::Compatible) { in handleCleanupAttr()
3208 static void handleEnumExtensibilityAttr(Sema &S, Decl *D, in handleEnumExtensibilityAttr()
3230 static void handleFormatArgAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleFormatArgAttr()
3295 static void handleInitPriorityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleInitPriorityAttr()
3335 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr()
3356 static void handleFormatAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleFormatAttr()
3477 static void handleCallbackAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCallbackAttr()
3615 static void handleTransparentUnionAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTransparentUnionAttr()
3686 void Sema::AddAnnotationAttr(Decl *D, const AttributeCommonInfo &CI, in AddAnnotationAttr()
3733 static void handleAnnotateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAnnotateAttr()
3750 static void handleAlignValueAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAlignValueAttr()
3754 void Sema::AddAlignValueAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E) { in AddAlignValueAttr()
3794 static void handleAlignedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAlignedAttr()
3819 void Sema::AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, in AddAlignedAttr()
3902 unsigned MaximumAlignment = Sema::MaximumAlignment; in AddAlignedAttr()
3929 void Sema::AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, in AddAlignedAttr()
3938 void Sema::CheckAlignasUnderalignment(Decl *D) { in CheckAlignasUnderalignment()
3980 bool Sema::checkMSInheritanceAttrOnDefinition( in checkMSInheritanceAttrOnDefinition()
4010 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg()
4076 static void handleModeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleModeAttr()
4090 void Sema::AddModeAttr(Decl *D, const AttributeCommonInfo &CI, in AddModeAttr()
4233 static void handleNoDebugAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoDebugAttr()
4237 AlwaysInlineAttr *Sema::mergeAlwaysInlineAttr(Decl *D, in mergeAlwaysInlineAttr()
4252 CommonAttr *Sema::mergeCommonAttr(Decl *D, const ParsedAttr &AL) { in mergeCommonAttr()
4259 CommonAttr *Sema::mergeCommonAttr(Decl *D, const CommonAttr &AL) { in mergeCommonAttr()
4266 InternalLinkageAttr *Sema::mergeInternalLinkageAttr(Decl *D, in mergeInternalLinkageAttr()
4290 Sema::mergeInternalLinkageAttr(Decl *D, const InternalLinkageAttr &AL) { in mergeInternalLinkageAttr()
4313 MinSizeAttr *Sema::mergeMinSizeAttr(Decl *D, const AttributeCommonInfo &CI) { in mergeMinSizeAttr()
4326 NoSpeculativeLoadHardeningAttr *Sema::mergeNoSpeculativeLoadHardeningAttr( in mergeNoSpeculativeLoadHardeningAttr()
4334 SwiftNameAttr *Sema::mergeSwiftNameAttr(Decl *D, const SwiftNameAttr &SNA, in mergeSwiftNameAttr()
4348 OptimizeNoneAttr *Sema::mergeOptimizeNoneAttr(Decl *D, in mergeOptimizeNoneAttr()
4367 SpeculativeLoadHardeningAttr *Sema::mergeSpeculativeLoadHardeningAttr( in mergeSpeculativeLoadHardeningAttr()
4375 static void handleAlwaysInlineAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAlwaysInlineAttr()
4384 static void handleMinSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMinSizeAttr()
4389 static void handleOptimizeNoneAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOptimizeNoneAttr()
4394 static void handleConstantAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleConstantAttr()
4405 static void handleSharedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSharedAttr()
4423 static void handleGlobalAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGlobalAttr()
4460 static void handleDeviceAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDeviceAttr()
4474 static void handleGNUInlineAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGNUInlineAttr()
4487 static void handleCallConvAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCallConvAttr()
4566 static void handleSuppressAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSuppressAttr()
4586 static void handleLifetimeCategoryAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLifetimeCategoryAttr()
4646 bool Sema::CheckCallingConvAttr(const ParsedAttr &Attrs, CallingConv &CC, in CheckCallingConvAttr()
4834 void Sema::AddParameterABIAttr(Decl *D, const AttributeCommonInfo &CI, in AddParameterABIAttr()
4881 bool Sema::CheckRegparmAttr(const ParsedAttr &AL, unsigned &numParams) { in CheckRegparmAttr()
4919 static Expr *makeLaunchBoundsArgExpr(Sema &S, Expr *E, in makeLaunchBoundsArgExpr()
4956 void Sema::AddLaunchBoundsAttr(Decl *D, const AttributeCommonInfo &CI, in AddLaunchBoundsAttr()
4973 static void handleLaunchBoundsAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLaunchBoundsAttr()
4982 static void handleArgumentWithTypeTagAttr(Sema &S, Decl *D, in handleArgumentWithTypeTagAttr()
5014 static void handleTypeTagForDatatypeAttr(Sema &S, Decl *D, in handleTypeTagForDatatypeAttr()
5041 static void handleXRayLogArgsAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleXRayLogArgsAttr()
5054 static void handlePatchableFunctionEntryAttr(Sema &S, Decl *D, in handlePatchableFunctionEntryAttr()
5124 static void handleArmBuiltinAliasAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleArmBuiltinAliasAttr()
5170 void Sema::AddXConsumedAttr(Decl *D, const AttributeCommonInfo &CI, in AddXConsumedAttr()
5203 static Sema::RetainOwnershipKind
5209 return Sema::RetainOwnershipKind::CF; in parsedAttrToRetainOwnershipKind()
5216 return Sema::RetainOwnershipKind::OS; in parsedAttrToRetainOwnershipKind()
5222 return Sema::RetainOwnershipKind::NS; in parsedAttrToRetainOwnershipKind()
5228 bool Sema::checkNSReturnsRetainedReturnType(SourceLocation Loc, QualType QT) { in checkNSReturnsRetainedReturnType()
5247 static void handleXReturnsXRetainedAttr(Sema &S, Decl *D, in handleXReturnsXRetainedAttr()
5250 Sema::RetainOwnershipKind K = parsedAttrToRetainOwnershipKind(AL); in handleXReturnsXRetainedAttr()
5264 unsigned DiagID = K == Sema::RetainOwnershipKind::CF in handleXReturnsXRetainedAttr()
5378 static void handleObjCReturnsInnerPointerAttr(Sema &S, Decl *D, in handleObjCReturnsInnerPointerAttr()
5404 static void handleObjCRequiresSuperAttr(Sema &S, Decl *D, in handleObjCRequiresSuperAttr()
5424 static void handleNSErrorDomain(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNSErrorDomain()
5449 static void handleObjCBridgeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCBridgeAttr()
5475 static void handleObjCBridgeMutableAttr(Sema &S, Decl *D, in handleObjCBridgeMutableAttr()
5488 static void handleObjCBridgeRelatedAttr(Sema &S, Decl *D, in handleObjCBridgeRelatedAttr()
5504 static void handleObjCDesignatedInitializer(Sema &S, Decl *D, in handleObjCDesignatedInitializer()
5530 static void handleObjCRuntimeName(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCRuntimeName()
5542 static void handleObjCBoxable(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCBoxable()
5564 static void handleObjCOwnershipAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCOwnershipAttr()
5571 static void handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, in handleObjCPreciseLifetimeAttr()
5610 static void handleSwiftAttrAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAttrAttr()
5620 static void handleSwiftBridge(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftBridge()
5636 static bool isErrorParameter(Sema &S, QualType QT) { in isErrorParameter()
5658 static void handleSwiftError(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftError()
5659 auto hasErrorParameter = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleSwiftError()
5670 auto hasPointerResult = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleSwiftError()
5684 auto hasIntegerResult = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleSwiftError()
5741 validateSwiftFunctionName(Sema &S, const ParsedAttr &AL, SourceLocation Loc, in validateSwiftFunctionName()
5924 bool Sema::DiagnoseSwiftName(Decl *D, StringRef Name, SourceLocation Loc, in DiagnoseSwiftName()
6018 static void handleSwiftName(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftName()
6030 static void handleSwiftAsyncName(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAsyncName()
6042 static void handleSwiftNewType(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftNewType()
6069 static void handleSwiftAsyncAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAsyncAttr()
6123 UuidAttr *Sema::mergeUuidAttr(Decl *D, const AttributeCommonInfo &CI, in mergeUuidAttr()
6138 static void handleUuidAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleUuidAttr()
6198 static void handleMSInheritanceAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMSInheritanceAttr()
6212 static void handleDeclspecThreadAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDeclspecThreadAttr()
6229 static void handleAbiTagAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAbiTagAttr()
6260 static void handleARMInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleARMInterruptAttr()
6285 static void handleMSP430InterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMSP430InterruptAttr()
6337 static void handleMipsInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMipsInterruptAttr()
6392 static void handleAnyX86InterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAnyX86InterruptAttr()
6456 static void handleAVRInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAVRInterruptAttr()
6469 static void handleAVRSignalAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAVRSignalAttr()
6482 static void handleBPFPreserveAIRecord(Sema &S, RecordDecl *RD) { in handleBPFPreserveAIRecord()
6494 static void handleBPFPreserveAccessIndexAttr(Sema &S, Decl *D, in handleBPFPreserveAccessIndexAttr()
6501 static void handleWebAssemblyExportNameAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWebAssemblyExportNameAttr()
6524 Sema::mergeImportModuleAttr(Decl *D, const WebAssemblyImportModuleAttr &AL) { in mergeImportModuleAttr()
6544 Sema::mergeImportNameAttr(Decl *D, const WebAssemblyImportNameAttr &AL) { in mergeImportNameAttr()
6564 handleWebAssemblyImportModuleAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWebAssemblyImportModuleAttr()
6581 handleWebAssemblyImportNameAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWebAssemblyImportNameAttr()
6596 static void handleRISCVInterruptAttr(Sema &S, Decl *D, in handleRISCVInterruptAttr()
6654 static void handleInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleInterruptAttr()
6682 checkAMDGPUFlatWorkGroupSizeArguments(Sema &S, Expr *MinExpr, Expr *MaxExpr, in checkAMDGPUFlatWorkGroupSizeArguments()
6711 void Sema::addAMDGPUFlatWorkGroupSizeAttr(Decl *D, in addAMDGPUFlatWorkGroupSizeAttr()
6723 static void handleAMDGPUFlatWorkGroupSizeAttr(Sema &S, Decl *D, in handleAMDGPUFlatWorkGroupSizeAttr()
6731 static bool checkAMDGPUWavesPerEUArguments(Sema &S, Expr *MinExpr, in checkAMDGPUWavesPerEUArguments()
6765 void Sema::addAMDGPUWavesPerEUAttr(Decl *D, const AttributeCommonInfo &CI, in addAMDGPUWavesPerEUAttr()
6776 static void handleAMDGPUWavesPerEUAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAMDGPUWavesPerEUAttr()
6787 static void handleAMDGPUNumSGPRAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAMDGPUNumSGPRAttr()
6796 static void handleAMDGPUNumVGPRAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAMDGPUNumVGPRAttr()
6805 static void handleX86ForceAlignArgPointerAttr(Sema &S, Decl *D, in handleX86ForceAlignArgPointerAttr()
6828 static void handleLayoutVersion(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLayoutVersion()
6849 DLLImportAttr *Sema::mergeDLLImportAttr(Decl *D, in mergeDLLImportAttr()
6862 DLLExportAttr *Sema::mergeDLLExportAttr(Decl *D, in mergeDLLExportAttr()
6875 static void handleDLLAttr(Sema &S, Decl *D, const ParsedAttr &A) { in handleDLLAttr()
6908 Sema::mergeMSInheritanceAttr(Decl *D, const AttributeCommonInfo &CI, in mergeMSInheritanceAttr()
6942 static void handleCapabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCapabilityAttr()
6960 static void handleAssertCapabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssertCapabilityAttr()
6969 static void handleAcquireCapabilityAttr(Sema &S, Decl *D, in handleAcquireCapabilityAttr()
6979 static void handleTryAcquireCapabilityAttr(Sema &S, Decl *D, in handleTryAcquireCapabilityAttr()
6989 static void handleReleaseCapabilityAttr(Sema &S, Decl *D, in handleReleaseCapabilityAttr()
6999 static void handleRequiresCapabilityAttr(Sema &S, Decl *D, in handleRequiresCapabilityAttr()
7016 static void handleDeprecatedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDeprecatedAttr()
7052 static void handleNoSanitizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoSanitizeAttr()
7078 static void handleNoSanitizeSpecificAttr(Sema &S, Decl *D, in handleNoSanitizeSpecificAttr()
7109 static void handleInternalLinkageAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleInternalLinkageAttr()
7114 static void handleOpenCLNoSVMAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOpenCLNoSVMAttr()
7126 static bool handleCommonAttributeFeatures(Sema &S, Decl *D, in handleCommonAttributeFeatures()
7166 static void handleOpenCLAccessAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOpenCLAccessAttr()
7206 static void handleSYCLKernelAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSYCLKernelAttr()
7245 static void handleDestroyAttr(Sema &S, Decl *D, const ParsedAttr &A) { in handleDestroyAttr()
7258 static void handleUninitializedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleUninitializedAttr()
7264 static bool tryMakeVariablePseudoStrong(Sema &S, VarDecl *VD, in tryMakeVariablePseudoStrong()
7301 static void handleObjCExternallyRetainedAttr(Sema &S, Decl *D, in handleObjCExternallyRetainedAttr()
7339 static void handleMIGServerRoutineAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMIGServerRoutineAttr()
7361 static void handleMSAllocatorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMSAllocatorAttr()
7375 static void handleAcquireHandleAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAcquireHandleAttr()
7393 static void handleHandleAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleHandleAttr()
7400 static void handleCFGuardAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCFGuardAttr()
7426 static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, in ProcessDeclAttribute()
8112 void Sema::ProcessDeclAttributeList(Scope *S, Decl *D, in ProcessDeclAttributeList()
8187 void Sema::ProcessDeclAttributeDelayed(Decl *D, in ProcessDeclAttributeDelayed()
8203 bool Sema::ProcessAccessDeclAttributeList( in ProcessAccessDeclAttributeList()
8218 static void checkUnusedDeclAttributes(Sema &S, const ParsedAttributesView &A) { in checkUnusedDeclAttributes()
8239 void Sema::checkUnusedDeclAttributes(Declarator &D) { in checkUnusedDeclAttributes()
8248 NamedDecl * Sema::DeclClonePragmaWeak(NamedDecl *ND, IdentifierInfo *II, in DeclClonePragmaWeak()
8293 void Sema::DeclApplyPragmaWeak(Scope *S, NamedDecl *ND, WeakInfo &W) { in DeclApplyPragmaWeak()
8318 void Sema::ProcessPragmaWeak(Scope *S, Decl *D) { in ProcessPragmaWeak()
8346 void Sema::ProcessDeclAttributes(Scope *S, Decl *D, const Declarator &PD) { in ProcessDeclAttributes()
8369 static bool isForbiddenTypeAllowed(Sema &S, Decl *D, in isForbiddenTypeAllowed()
8404 static void handleDelayedForbiddenType(Sema &S, DelayedDiagnostic &DD, in handleDelayedForbiddenType()
8430 void Sema::PopParsingDeclaration(ParsingDeclState state, Decl *decl) { in PopParsingDeclaration()
8487 void Sema::redelayDiagnostics(DelayedDiagnosticPool &pool) { in redelayDiagnostics()