H A D | SemaDeclAttr.cpp | 210 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, argument 212 if (Attr.getNumArgs() != Num) { 213 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) 214 << Attr.getName() << Num; 224 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, argument 226 if (Attr.getNumArgs() < Num) { 227 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num; 324 const AttributeList &Attr) { 341 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer) 342 << Attr 323 threadSafetyCheckIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) argument 375 checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr, QualType Ty) argument 416 checkAttrArgsAreLockableObjs(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr*> &Args, int Sidx = 0, bool ParamIdxOk = false) argument 498 checkGuardedVarAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument 515 handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 524 handlePtGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 537 checkGuardedByAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, Expr* &Arg) argument 564 handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 572 handlePtGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 585 checkLockableAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument 602 handleLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 609 handleScopedLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 619 handleNoThreadSafetyAnalysis(Sema &S, Decl *D, const AttributeList &Attr) argument 636 handleNoSanitizeAddressAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 654 handleNoSanitizeMemory(Sema &S, Decl *D, const AttributeList &Attr) argument 671 handleNoSanitizeThread(Sema &S, Decl *D, const AttributeList &Attr) argument 688 checkAcquireOrderAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument 723 handleAcquiredAfterAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 736 handleAcquiredBeforeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 749 checkLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument 769 handleSharedLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 782 handleExclusiveLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 796 handleAssertSharedLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 809 handleAssertExclusiveLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 824 checkTryLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument 850 handleSharedTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 864 handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 878 checkLocksRequiredCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument 900 handleExclusiveLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 913 handleSharedLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 926 handleUnlockFunAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 949 handleLockReturnedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 974 handleLocksExcludedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1001 handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument 1015 handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1038 handleMsStructAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1047 handleIBAction(Sema &S, Decl *D, const AttributeList &Attr) argument 1064 checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) argument 1090 handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) argument 1103 handleIBOutletCollection(Sema &S, Decl *D, const AttributeList &Attr) argument 1156 handleAllocSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1197 handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1389 handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1465 handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1492 handleMinSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1508 handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1529 handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1550 handleNakedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1566 handleAlwaysInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1586 handleTLSModelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1622 handleMallocAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1643 handleMayAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1653 handleNoCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1664 handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1708 handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1734 handleCXX11NoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1752 handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1814 handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, const AttributeList &Attr) argument 1835 handleUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1855 handleReturnsTwiceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1875 handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1899 handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1931 handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1964 handleAttrWithMessage(Sema &S, Decl *D, const AttributeList &Attr) argument 1988 handleArcWeakrefUnavailableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1998 handleObjCRootClassAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2014 handleObjCRequiresPropertyDefsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2211 handleAvailabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2279 handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, bool isTypeVisibility) argument 2348 handleObjCMethodFamilyAttr(Sema &S, Decl *decl, const AttributeList &Attr) argument 2402 handleObjCExceptionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2419 handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) argument 2451 handleOverloadableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2465 handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2492 handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2588 handleWarnUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2599 handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) argument 2627 handleWeakAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2652 handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2681 handleWorkGroupSize(Sema &S, Decl *D, const AttributeList &Attr) argument 2737 handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) argument 2767 handleEndianAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2790 handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2827 handleNothrowAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2845 handleConstAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2863 handlePureAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2873 handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2940 handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3022 handleInitPriorityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3096 handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3240 handleTransparentUnionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3309 handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3338 handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3506 handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3682 handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3704 handleNoInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3721 handleNoInstrumentFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3739 handleKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3747 handleConstantAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3770 handleDeviceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3793 handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3828 handleHostAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3849 handleSharedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3869 handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3891 handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3967 handleOpenCLKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3972 handleOpenCLImageAccessAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4053 handleRegparmAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4073 CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) argument 4111 handleLaunchBoundsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4160 handleArgumentWithTypeTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4211 handleTypeTagForDatatypeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4245 handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4278 handleNSConsumesSelfAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4291 handleNSReturnsRetainedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4462 handleNSBridgedAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument 4493 handleObjCOwnershipAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4501 handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4554 checkMicrosoftExt(Sema &S, const AttributeList &Attr, bool OtherExtension = false) argument 4562 handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4617 handleInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4639 handlePortabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4650 handleForceInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4658 handleSelectAnyAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4672 ProcessNonInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument 4684 ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument 4998 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr, bool NonInheritable, bool Inheritable, bool IncludeCXX11Attributes) argument [all...] |