Lines Matching refs:Sema
216 static bool checkUInt32Argument(Sema &S, const AttrInfo &AI, const Expr *Expr, in checkUInt32Argument()
252 static bool checkPositiveIntArgument(Sema &S, const AttrInfo &AI, const Expr *Expr, in checkPositiveIntArgument()
273 static bool checkAttrMutualExclusion(Sema &S, Decl *D, const ParsedAttr &AL) { in checkAttrMutualExclusion()
283 static bool checkAttrMutualExclusion(Sema &S, Decl *D, const Attr &AL) { in checkAttrMutualExclusion()
299 Sema &S, const Decl *D, const AttrInfo &AI, unsigned AttrArgNum, in checkFunctionOrMethodParameterIndex()
341 bool Sema::checkStringLiteralArgumentAttr(const AttributeCommonInfo &CI, in checkStringLiteralArgumentAttr()
362 bool Sema::checkStringLiteralArgumentAttr(const ParsedAttr &AL, unsigned ArgNum, in checkStringLiteralArgumentAttr()
386 static void handleSimpleAttribute(Sema &S, Decl *D, in handleSimpleAttribute()
392 static const Sema::SemaDiagnosticBuilder&
393 appendDiagnostics(const Sema::SemaDiagnosticBuilder &Bldr) { in appendDiagnostics()
398 static const Sema::SemaDiagnosticBuilder&
399 appendDiagnostics(const Sema::SemaDiagnosticBuilder &Bldr, T &&ExtraArg, in appendDiagnostics()
410 static void handleSimpleAttributeOrDiagnose(Sema &S, Decl *D, in handleSimpleAttributeOrDiagnose()
415 Sema::SemaDiagnosticBuilder DB = S.Diag(D->getBeginLoc(), DiagID); in handleSimpleAttributeOrDiagnose()
431 static bool threadSafetyCheckIsSmartPointer(Sema &S, const RecordType* RT) { in threadSafetyCheckIsSmartPointer()
467 static bool threadSafetyCheckIsPointer(Sema &S, const Decl *D, in threadSafetyCheckIsPointer()
518 static bool checkRecordTypeForCapability(Sema &S, QualType Ty) { in checkRecordTypeForCapability()
548 static bool typeHasCapability(Sema &S, QualType Ty) { in typeHasCapability()
558 static bool isCapabilityExpr(Sema &S, const Expr *Ex) { in isCapabilityExpr()
588 static void checkAttrArgsAreCapabilityObjs(Sema &S, Decl *D, in checkAttrArgsAreCapabilityObjs()
685 static void handlePtGuardedVarAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePtGuardedVarAttr()
692 static bool checkGuardedByAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkGuardedByAttrCommon()
706 static void handleGuardedByAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGuardedByAttr()
714 static void handlePtGuardedByAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePtGuardedByAttr()
725 static bool checkAcquireOrderAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkAcquireOrderAttrCommon()
745 static void handleAcquiredAfterAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAcquiredAfterAttr()
755 static void handleAcquiredBeforeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAcquiredBeforeAttr()
765 static bool checkLockFunAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkLockFunAttrCommon()
774 static void handleAssertSharedLockAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssertSharedLockAttr()
785 static void handleAssertExclusiveLockAttr(Sema &S, Decl *D, in handleAssertExclusiveLockAttr()
803 static bool checkParamIsIntegerType(Sema &S, const Decl *D, const AttrInfo &AI, in checkParamIsIntegerType()
822 static void handleAllocSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAllocSizeAttr()
859 static bool checkTryLockFunAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkTryLockFunAttrCommon()
876 static void handleSharedTrylockFunctionAttr(Sema &S, Decl *D, in handleSharedTrylockFunctionAttr()
886 static void handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, in handleExclusiveTrylockFunctionAttr()
896 static void handleLockReturnedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLockReturnedAttr()
907 static void handleLocksExcludedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLocksExcludedAttr()
923 static bool checkFunctionConditionAttr(Sema &S, Decl *D, const ParsedAttr &AL, in checkFunctionConditionAttr()
951 static void handleEnableIfAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleEnableIfAttr()
960 static void handleErrorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleErrorAttr()
1014 static void handleDiagnoseAsBuiltinAttr(Sema &S, Decl *D, in handleDiagnoseAsBuiltinAttr()
1092 static void handleDiagnoseIfAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDiagnoseIfAttr()
1118 static void handleNoBuiltinAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoBuiltinAttr()
1168 static void handlePassObjectSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePassObjectSizeAttr()
1200 static void handleConsumableAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleConsumableAttr()
1220 static bool checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, in checkForConsumableClass()
1235 static void handleCallableWhenAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCallableWhenAttr()
1270 static void handleParamTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleParamTypestateAttr()
1304 static void handleReturnTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleReturnTypestateAttr()
1349 static void handleSetTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSetTypestateAttr()
1371 static void handleTestTypestateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTestTypestateAttr()
1393 static void handleExtVectorTypeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleExtVectorTypeAttr()
1398 static void handlePackedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePackedAttr()
1426 static void handlePreferredName(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePreferredName()
1463 static bool checkIBOutletCommon(Sema &S, Decl *D, const ParsedAttr &AL) { in checkIBOutletCommon()
1489 static void handleIBOutlet(Sema &S, Decl *D, const ParsedAttr &AL) { in handleIBOutlet()
1496 static void handleIBOutletCollection(Sema &S, Decl *D, const ParsedAttr &AL) { in handleIBOutletCollection()
1539 bool Sema::isValidPointerAttrType(QualType T, bool RefOkay) { in isValidPointerAttrType()
1563 static bool attrNonNullArgCheck(Sema &S, QualType T, const ParsedAttr &AL, in attrNonNullArgCheck()
1579 static void handleNonNullAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNonNullAttr()
1622 static void handleNonNullAttrParameter(Sema &S, ParmVarDecl *D, in handleNonNullAttrParameter()
1642 static void handleReturnsNonNullAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleReturnsNonNullAttr()
1652 static void handleNoEscapeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoEscapeAttr()
1667 static void handleAssumeAlignedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssumeAlignedAttr()
1673 static void handleAllocAlignAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAllocAlignAttr()
1677 void Sema::AddAssumeAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, in AddAssumeAlignedAttr()
1711 if (*I > Sema::MaximumAlignment) in AddAssumeAlignedAttr()
1713 << CI.getRange() << Sema::MaximumAlignment; in AddAssumeAlignedAttr()
1726 void Sema::AddAllocAlignAttr(Decl *D, const AttributeCommonInfo &CI, in AddAllocAlignAttr()
1759 static void checkAssumptionAttr(Sema &S, SourceLocation Loc, in checkAssumptionAttr()
1782 static void handleAssumumptionAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssumumptionAttr()
1805 static void handleOwnershipAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOwnershipAttr()
1907 static void handleWeakRefAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWeakRefAttr()
1965 static void handleIFuncAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleIFuncAttr()
1980 static void handleAliasAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAliasAttr()
2012 LookupResult LR(S, target, Sema::LookupOrdinaryName); in handleAliasAttr()
2021 static void handleTLSModelAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTLSModelAttr()
2044 static void handleRestrictAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleRestrictAttr()
2055 static void handleCPUSpecificAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCPUSpecificAttr()
2127 static void handleCommonAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCommonAttr()
2137 static void handleCmseNSEntryAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCmseNSEntryAttr()
2152 static void handleNakedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNakedAttr()
2175 static void handleNoReturnAttr(Sema &S, Decl *D, const ParsedAttr &Attrs) { in handleNoReturnAttr()
2187 static void handleStandardNoReturnAttr(Sema &S, Decl *D, const ParsedAttr &A) { in handleStandardNoReturnAttr()
2202 static void handleNoCfCheckAttr(Sema &S, Decl *D, const ParsedAttr &Attrs) { in handleNoCfCheckAttr()
2209 bool Sema::CheckAttrNoArgs(const ParsedAttr &Attrs) { in CheckAttrNoArgs()
2218 bool Sema::CheckAttrTarget(const ParsedAttr &AL) { in CheckAttrTarget()
2230 static void handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAnalyzerNoReturnAttr()
2250 static void handleVecReturnAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleVecReturnAttr()
2304 static void handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, in handleDependencyAttr()
2319 static void handleUnusedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleUnusedAttr()
2330 static void handleConstructorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleConstructorAttr()
2339 static void handleDestructorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDestructorAttr()
2349 static void handleAttrWithMessage(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAttrWithMessage()
2358 static void handleObjCSuppresProtocolAttr(Sema &S, Decl *D, in handleObjCSuppresProtocolAttr()
2369 static bool checkAvailabilityAttr(Sema &S, SourceRange Range, in checkAvailabilityAttr()
2426 AvailabilityAttr *Sema::mergeAvailabilityAttr( in mergeAvailabilityAttr()
2590 static void handleAvailabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAvailabilityAttr()
2642 ? Sema::AP_PragmaClangAttribute in handleAvailabilityAttr()
2643 : Sema::AP_Explicit; in handleAvailabilityAttr()
2647 Sema::AMK_None, PriorityModifier); in handleAvailabilityAttr()
2703 Sema::AMK_None, in handleAvailabilityAttr()
2704 PriorityModifier + Sema::AP_InferredFromOtherPlatform); in handleAvailabilityAttr()
2745 Sema::AMK_None, in handleAvailabilityAttr()
2746 PriorityModifier + Sema::AP_InferredFromOtherPlatform); in handleAvailabilityAttr()
2778 IsStrict, Replacement, Sema::AMK_None, in handleAvailabilityAttr()
2779 PriorityModifier + Sema::AP_InferredFromOtherPlatform); in handleAvailabilityAttr()
2819 IsStrict, Replacement, Sema::AMK_None, in handleAvailabilityAttr()
2820 PriorityModifier + Sema::AP_InferredFromOtherPlatform + in handleAvailabilityAttr()
2821 Sema::AP_InferredFromOtherPlatform); in handleAvailabilityAttr()
2830 static void handleExternalSourceSymbolAttr(Sema &S, Decl *D, in handleExternalSourceSymbolAttr()
2848 static T *mergeVisibilityAttr(Sema &S, Decl *D, const AttributeCommonInfo &CI, in mergeVisibilityAttr()
2862 VisibilityAttr *Sema::mergeVisibilityAttr(Decl *D, in mergeVisibilityAttr()
2869 Sema::mergeTypeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, in mergeTypeVisibilityAttr()
2874 static void handleVisibilityAttr(Sema &S, Decl *D, const ParsedAttr &AL, in handleVisibilityAttr()
2924 static void handleObjCDirectAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCDirectAttr()
2938 static void handleObjCDirectMembersAttr(Sema &S, Decl *D, in handleObjCDirectMembersAttr()
2947 static void handleObjCMethodFamilyAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCMethodFamilyAttr()
2973 static void handleObjCNSObject(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCNSObject()
3000 static void handleObjCIndependentClass(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCIndependentClass()
3014 static void handleBlocksAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleBlocksAttr()
3031 static void handleSentinelAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSentinelAttr()
3118 static void handleWarnUnusedResult(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWarnUnusedResult()
3170 static void handleWeakImportAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWeakImportAttr()
3193 static void handleWorkGroupSize(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWorkGroupSize()
3218 static void handleSubGroupSize(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSubGroupSize()
3238 static void handleVecTypeHint(Sema &S, Decl *D, const ParsedAttr &AL) { in handleVecTypeHint()
3265 SectionAttr *Sema::mergeSectionAttr(Decl *D, const AttributeCommonInfo &CI, in mergeSectionAttr()
3294 llvm::Error Sema::isValidSectionSpecifier(StringRef SecName) { in isValidSectionSpecifier()
3306 bool Sema::checkSectionName(SourceLocation LiteralLoc, StringRef SecName) { in checkSectionName()
3315 static void handleSectionAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSectionAttr()
3339 static bool checkCodeSegName(Sema &S, SourceLocation LiteralLoc, in checkCodeSegName()
3350 CodeSegAttr *Sema::mergeCodeSegAttr(Decl *D, const AttributeCommonInfo &CI, in mergeCodeSegAttr()
3369 static void handleCodeSegAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCodeSegAttr()
3392 bool Sema::checkTargetAttr(SourceLocation LiteralLoc, StringRef AttrStr) { in checkTargetAttr()
3451 static void handleTargetAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTargetAttr()
3462 bool Sema::checkTargetClonesAttrString(SourceLocation LiteralLoc, StringRef Str, in checkTargetClonesAttrString()
3513 static void handleTargetClonesAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTargetClonesAttr()
3563 static void handleMinVectorWidthAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMinVectorWidthAttr()
3580 static void handleCleanupAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCleanupAttr()
3626 ParamTy, Ty) != Sema::Compatible) { in handleCleanupAttr()
3635 static void handleEnumExtensibilityAttr(Sema &S, Decl *D, in handleEnumExtensibilityAttr()
3657 static void handleFormatArgAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleFormatArgAttr()
3728 static void handleInitPriorityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleInitPriorityAttr()
3768 ErrorAttr *Sema::mergeErrorAttr(Decl *D, const AttributeCommonInfo &CI, in mergeErrorAttr()
3791 FormatAttr *Sema::mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, in mergeFormatAttr()
3812 static void handleFormatAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleFormatAttr()
3916 static void handleCallbackAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCallbackAttr()
4062 static void handleCalledOnceAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCalledOnceAttr()
4074 static void handleTransparentUnionAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleTransparentUnionAttr()
4145 void Sema::AddAnnotationAttr(Decl *D, const AttributeCommonInfo &CI, in AddAnnotationAttr()
4154 static void handleAnnotateAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAnnotateAttr()
4171 static void handleAlignValueAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAlignValueAttr()
4175 void Sema::AddAlignValueAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E) { in AddAlignValueAttr()
4215 static void handleAlignedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAlignedAttr()
4240 void Sema::AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, in AddAlignedAttr()
4328 uint64_t MaximumAlignment = Sema::MaximumAlignment; in AddAlignedAttr()
4366 void Sema::AddAlignedAttr(Decl *D, const AttributeCommonInfo &CI, in AddAlignedAttr()
4375 void Sema::CheckAlignasUnderalignment(Decl *D) { in CheckAlignasUnderalignment()
4417 bool Sema::checkMSInheritanceAttrOnDefinition( in checkMSInheritanceAttrOnDefinition()
4447 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg()
4518 static void handleModeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleModeAttr()
4532 void Sema::AddModeAttr(Decl *D, const AttributeCommonInfo &CI, in AddModeAttr()
4675 static void handleNoDebugAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoDebugAttr()
4679 AlwaysInlineAttr *Sema::mergeAlwaysInlineAttr(Decl *D, in mergeAlwaysInlineAttr()
4694 InternalLinkageAttr *Sema::mergeInternalLinkageAttr(Decl *D, in mergeInternalLinkageAttr()
4715 Sema::mergeInternalLinkageAttr(Decl *D, const InternalLinkageAttr &AL) { in mergeInternalLinkageAttr()
4735 MinSizeAttr *Sema::mergeMinSizeAttr(Decl *D, const AttributeCommonInfo &CI) { in mergeMinSizeAttr()
4748 SwiftNameAttr *Sema::mergeSwiftNameAttr(Decl *D, const SwiftNameAttr &SNA, in mergeSwiftNameAttr()
4762 OptimizeNoneAttr *Sema::mergeOptimizeNoneAttr(Decl *D, in mergeOptimizeNoneAttr()
4781 static void handleAlwaysInlineAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAlwaysInlineAttr()
4787 static void handleMinSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMinSizeAttr()
4792 static void handleOptimizeNoneAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOptimizeNoneAttr()
4797 static void handleConstantAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleConstantAttr()
4813 static void handleSharedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSharedAttr()
4829 static void handleGlobalAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGlobalAttr()
4862 static void handleDeviceAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDeviceAttr()
4878 static void handleManagedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleManagedAttr()
4891 static void handleGNUInlineAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGNUInlineAttr()
4904 static void handleCallConvAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCallConvAttr()
4992 static void handleSuppressAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSuppressAttr()
5012 static void handleLifetimeCategoryAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLifetimeCategoryAttr()
5075 static void handleRandomizeLayoutAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleRandomizeLayoutAttr()
5082 static void handleNoRandomizeLayoutAttr(Sema &S, Decl *D, in handleNoRandomizeLayoutAttr()
5090 bool Sema::CheckCallingConvAttr(const ParsedAttr &Attrs, CallingConv &CC, in CheckCallingConvAttr()
5287 void Sema::AddParameterABIAttr(Decl *D, const AttributeCommonInfo &CI, in AddParameterABIAttr()
5342 bool Sema::CheckRegparmAttr(const ParsedAttr &AL, unsigned &numParams) { in CheckRegparmAttr()
5380 static Expr *makeLaunchBoundsArgExpr(Sema &S, Expr *E, in makeLaunchBoundsArgExpr()
5417 void Sema::AddLaunchBoundsAttr(Decl *D, const AttributeCommonInfo &CI, in AddLaunchBoundsAttr()
5434 static void handleLaunchBoundsAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLaunchBoundsAttr()
5442 static void handleArgumentWithTypeTagAttr(Sema &S, Decl *D, in handleArgumentWithTypeTagAttr()
5474 static void handleTypeTagForDatatypeAttr(Sema &S, Decl *D, in handleTypeTagForDatatypeAttr()
5501 static void handleXRayLogArgsAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleXRayLogArgsAttr()
5514 static void handlePatchableFunctionEntryAttr(Sema &S, Decl *D, in handlePatchableFunctionEntryAttr()
5581 static void handleArmBuiltinAliasAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleArmBuiltinAliasAttr()
5608 static void handleBuiltinAliasAttr(Sema &S, Decl *D, in handleBuiltinAliasAttr()
5660 void Sema::AddXConsumedAttr(Decl *D, const AttributeCommonInfo &CI, in AddXConsumedAttr()
5693 static Sema::RetainOwnershipKind
5699 return Sema::RetainOwnershipKind::CF; in parsedAttrToRetainOwnershipKind()
5706 return Sema::RetainOwnershipKind::OS; in parsedAttrToRetainOwnershipKind()
5712 return Sema::RetainOwnershipKind::NS; in parsedAttrToRetainOwnershipKind()
5718 bool Sema::checkNSReturnsRetainedReturnType(SourceLocation Loc, QualType QT) { in checkNSReturnsRetainedReturnType()
5737 static void handleXReturnsXRetainedAttr(Sema &S, Decl *D, in handleXReturnsXRetainedAttr()
5740 Sema::RetainOwnershipKind K = parsedAttrToRetainOwnershipKind(AL); in handleXReturnsXRetainedAttr()
5754 unsigned DiagID = K == Sema::RetainOwnershipKind::CF in handleXReturnsXRetainedAttr()
5868 static void handleObjCReturnsInnerPointerAttr(Sema &S, Decl *D, in handleObjCReturnsInnerPointerAttr()
5894 static void handleObjCRequiresSuperAttr(Sema &S, Decl *D, in handleObjCRequiresSuperAttr()
5914 static void handleNSErrorDomain(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNSErrorDomain()
5939 static void handleObjCBridgeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCBridgeAttr()
5965 static void handleObjCBridgeMutableAttr(Sema &S, Decl *D, in handleObjCBridgeMutableAttr()
5978 static void handleObjCBridgeRelatedAttr(Sema &S, Decl *D, in handleObjCBridgeRelatedAttr()
5994 static void handleObjCDesignatedInitializer(Sema &S, Decl *D, in handleObjCDesignatedInitializer()
6020 static void handleObjCRuntimeName(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCRuntimeName()
6032 static void handleObjCBoxable(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCBoxable()
6054 static void handleObjCOwnershipAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleObjCOwnershipAttr()
6061 static void handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, in handleObjCPreciseLifetimeAttr()
6100 static void handleSwiftAttrAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAttrAttr()
6110 static void handleSwiftBridge(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftBridge()
6128 static bool isErrorParameter(Sema &S, QualType QT) { in isErrorParameter()
6150 static void handleSwiftError(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftError()
6151 auto hasErrorParameter = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleSwiftError()
6162 auto hasPointerResult = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleSwiftError()
6176 auto hasIntegerResult = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleSwiftError()
6224 static void checkSwiftAsyncErrorBlock(Sema &S, Decl *D, in checkSwiftAsyncErrorBlock()
6305 static void handleSwiftAsyncError(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAsyncError()
6352 validateSwiftFunctionName(Sema &S, const ParsedAttr &AL, SourceLocation Loc, in validateSwiftFunctionName()
6535 bool Sema::DiagnoseSwiftName(Decl *D, StringRef Name, SourceLocation Loc, in DiagnoseSwiftName()
6628 static void handleSwiftName(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftName()
6640 static void handleSwiftAsyncName(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAsyncName()
6652 static void handleSwiftNewType(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftNewType()
6679 static void handleSwiftAsyncAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSwiftAsyncAttr()
6738 UuidAttr *Sema::mergeUuidAttr(Decl *D, const AttributeCommonInfo &CI, in mergeUuidAttr()
6753 static void handleUuidAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleUuidAttr()
6813 static void handleHLSLNumThreadsAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleHLSLNumThreadsAttr()
6873 HLSLNumThreadsAttr *Sema::mergeHLSLNumThreadsAttr(Decl *D, in mergeHLSLNumThreadsAttr()
6886 static void handleHLSLSVGroupIndexAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleHLSLSVGroupIndexAttr()
6901 static void handleHLSLShaderAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleHLSLShaderAttr()
6922 Sema::mergeHLSLShaderAttr(Decl *D, const AttributeCommonInfo &AL, in mergeHLSLShaderAttr()
6934 static void handleMSInheritanceAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMSInheritanceAttr()
6948 static void handleDeclspecThreadAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDeclspecThreadAttr()
6965 static void handleAbiTagAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAbiTagAttr()
6996 static void handleARMInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleARMInterruptAttr()
7021 static void handleMSP430InterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMSP430InterruptAttr()
7073 static void handleMipsInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMipsInterruptAttr()
7130 static void handleM68kInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleM68kInterruptAttr()
7163 static void handleAnyX86InterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAnyX86InterruptAttr()
7227 static void handleAVRInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAVRInterruptAttr()
7240 static void handleAVRSignalAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAVRSignalAttr()
7253 static void handleBPFPreserveAIRecord(Sema &S, RecordDecl *RD) { in handleBPFPreserveAIRecord()
7265 static void handleBPFPreserveAccessIndexAttr(Sema &S, Decl *D, in handleBPFPreserveAccessIndexAttr()
7280 static void handleBTFDeclTagAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleBTFDeclTagAttr()
7290 BTFDeclTagAttr *Sema::mergeBTFDeclTagAttr(Decl *D, const BTFDeclTagAttr &AL) { in mergeBTFDeclTagAttr()
7296 static void handleWebAssemblyExportNameAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWebAssemblyExportNameAttr()
7319 Sema::mergeImportModuleAttr(Decl *D, const WebAssemblyImportModuleAttr &AL) { in mergeImportModuleAttr()
7339 Sema::mergeImportNameAttr(Decl *D, const WebAssemblyImportNameAttr &AL) { in mergeImportNameAttr()
7359 handleWebAssemblyImportModuleAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWebAssemblyImportModuleAttr()
7376 handleWebAssemblyImportNameAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleWebAssemblyImportNameAttr()
7391 static void handleRISCVInterruptAttr(Sema &S, Decl *D, in handleRISCVInterruptAttr()
7449 static void handleInterruptAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleInterruptAttr()
7480 checkAMDGPUFlatWorkGroupSizeArguments(Sema &S, Expr *MinExpr, Expr *MaxExpr, in checkAMDGPUFlatWorkGroupSizeArguments()
7509 void Sema::addAMDGPUFlatWorkGroupSizeAttr(Decl *D, in addAMDGPUFlatWorkGroupSizeAttr()
7521 static void handleAMDGPUFlatWorkGroupSizeAttr(Sema &S, Decl *D, in handleAMDGPUFlatWorkGroupSizeAttr()
7529 static bool checkAMDGPUWavesPerEUArguments(Sema &S, Expr *MinExpr, in checkAMDGPUWavesPerEUArguments()
7563 void Sema::addAMDGPUWavesPerEUAttr(Decl *D, const AttributeCommonInfo &CI, in addAMDGPUWavesPerEUAttr()
7574 static void handleAMDGPUWavesPerEUAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAMDGPUWavesPerEUAttr()
7584 static void handleAMDGPUNumSGPRAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAMDGPUNumSGPRAttr()
7593 static void handleAMDGPUNumVGPRAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAMDGPUNumVGPRAttr()
7602 static void handleX86ForceAlignArgPointerAttr(Sema &S, Decl *D, in handleX86ForceAlignArgPointerAttr()
7625 static void handleLayoutVersion(Sema &S, Decl *D, const ParsedAttr &AL) { in handleLayoutVersion()
7646 DLLImportAttr *Sema::mergeDLLImportAttr(Decl *D, in mergeDLLImportAttr()
7659 DLLExportAttr *Sema::mergeDLLExportAttr(Decl *D, in mergeDLLExportAttr()
7672 static void handleDLLAttr(Sema &S, Decl *D, const ParsedAttr &A) { in handleDLLAttr()
7705 Sema::mergeMSInheritanceAttr(Decl *D, const AttributeCommonInfo &CI, in mergeMSInheritanceAttr()
7739 static void handleCapabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCapabilityAttr()
7757 static void handleAssertCapabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAssertCapabilityAttr()
7766 static void handleAcquireCapabilityAttr(Sema &S, Decl *D, in handleAcquireCapabilityAttr()
7776 static void handleTryAcquireCapabilityAttr(Sema &S, Decl *D, in handleTryAcquireCapabilityAttr()
7786 static void handleReleaseCapabilityAttr(Sema &S, Decl *D, in handleReleaseCapabilityAttr()
7796 static void handleRequiresCapabilityAttr(Sema &S, Decl *D, in handleRequiresCapabilityAttr()
7813 static void handleDeprecatedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleDeprecatedAttr()
7859 static void handleNoSanitizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleNoSanitizeAttr()
7886 static void handleNoSanitizeSpecificAttr(Sema &S, Decl *D, in handleNoSanitizeSpecificAttr()
7917 static void handleInternalLinkageAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleInternalLinkageAttr()
7922 static void handleOpenCLNoSVMAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOpenCLNoSVMAttr()
7931 static void handleOpenCLAccessAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleOpenCLAccessAttr()
7978 static void handleZeroCallUsedRegsAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleZeroCallUsedRegsAttr()
7996 static void handleFunctionReturnThunksAttr(Sema &S, Decl *D, in handleFunctionReturnThunksAttr()
8016 static void handleSYCLKernelAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleSYCLKernelAttr()
8055 static void handleDestroyAttr(Sema &S, Decl *D, const ParsedAttr &A) { in handleDestroyAttr()
8068 static void handleUninitializedAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleUninitializedAttr()
8074 static bool tryMakeVariablePseudoStrong(Sema &S, VarDecl *VD, in tryMakeVariablePseudoStrong()
8111 static void handleObjCExternallyRetainedAttr(Sema &S, Decl *D, in handleObjCExternallyRetainedAttr()
8149 static void handleMIGServerRoutineAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMIGServerRoutineAttr()
8171 static void handleMSAllocatorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleMSAllocatorAttr()
8185 static void handleAcquireHandleAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleAcquireHandleAttr()
8203 static void handleHandleAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleHandleAttr()
8210 static void handleCFGuardAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleCFGuardAttr()
8241 static void handleEnforceTCBAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleEnforceTCBAttr()
8266 static AttrTy *mergeEnforceTCBAttrImpl(Sema &S, Decl *D, const AttrTy &AL) { in mergeEnforceTCBAttrImpl()
8287 EnforceTCBAttr *Sema::mergeEnforceTCBAttr(Decl *D, const EnforceTCBAttr &AL) { in mergeEnforceTCBAttr()
8292 EnforceTCBLeafAttr *Sema::mergeEnforceTCBLeafAttr( in mergeEnforceTCBLeafAttr()
8337 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const ParsedAttr &AL, in ProcessDeclAttribute()
8338 const Sema::ProcessDeclAttributeOptions &Options) { in ProcessDeclAttribute()
9101 void Sema::ProcessDeclAttributeList( in ProcessDeclAttributeList()
9176 void Sema::ProcessDeclAttributeDelayed(Decl *D, in ProcessDeclAttributeDelayed()
9192 bool Sema::ProcessAccessDeclAttributeList( in ProcessAccessDeclAttributeList()
9208 static void checkUnusedDeclAttributes(Sema &S, const ParsedAttributesView &A) { in checkUnusedDeclAttributes()
9229 void Sema::checkUnusedDeclAttributes(Declarator &D) { in checkUnusedDeclAttributes()
9239 NamedDecl *Sema::DeclClonePragmaWeak(NamedDecl *ND, const IdentifierInfo *II, in DeclClonePragmaWeak()
9285 void Sema::DeclApplyPragmaWeak(Scope *S, NamedDecl *ND, const WeakInfo &W) { in DeclApplyPragmaWeak()
9308 void Sema::ProcessPragmaWeak(Scope *S, Decl *D) { in ProcessPragmaWeak()
9338 void Sema::ProcessDeclAttributes(Scope *S, Decl *D, const Declarator &PD) { in ProcessDeclAttributes()
9387 static bool isForbiddenTypeAllowed(Sema &S, Decl *D, in isForbiddenTypeAllowed()
9422 static void handleDelayedForbiddenType(Sema &S, DelayedDiagnostic &DD, in handleDelayedForbiddenType()
9448 void Sema::PopParsingDeclaration(ParsingDeclState state, Decl *decl) { in PopParsingDeclaration()
9505 void Sema::redelayDiagnostics(DelayedDiagnosticPool &pool) { in redelayDiagnostics()