H A D | SemaDeclAttr.cpp | 209 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, argument 211 if (Attr.getNumArgs() != Num) { 212 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << Num; 222 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, argument 224 if (Attr.getNumArgs() < Num) { 225 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num; 319 const AttributeList &Attr) { 336 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer) 337 << Attr.getName()->getName() << QT; 339 S.Diag(Attr 318 threadSafetyCheckIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) argument 370 checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr, QualType Ty) argument 411 checkAttrArgsAreLockableObjs(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr*> &Args, int Sidx = 0, bool ParamIdxOk = false) argument 493 checkGuardedVarAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument 510 handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 519 handlePtGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 532 checkGuardedByAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, Expr* &Arg) argument 559 handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 567 handlePtGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 580 checkLockableAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument 597 handleLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 604 handleScopedLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 614 handleNoThreadSafetyAnalysis(Sema &S, Decl *D, const AttributeList &Attr) argument 631 handleNoSanitizeAddressAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 649 handleNoSanitizeMemory(Sema &S, Decl *D, const AttributeList &Attr) argument 666 handleNoSanitizeThread(Sema &S, Decl *D, const AttributeList &Attr) argument 683 checkAcquireOrderAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 1> &Args) argument 718 handleAcquiredAfterAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 731 handleAcquiredBeforeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 744 checkLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 1> &Args) argument 764 handleSharedLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 777 handleExclusiveLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 791 checkTryLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 2> &Args) argument 817 handleSharedTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 831 handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 845 checkLocksRequiredCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 1> &Args) argument 867 handleExclusiveLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 880 handleSharedLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 893 handleUnlockFunAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 916 handleLockReturnedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 941 handleLocksExcludedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 968 handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument 982 handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1005 handleMsStructAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1014 handleIBAction(Sema &S, Decl *D, const AttributeList &Attr) argument 1031 checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) argument 1057 handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) argument 1070 handleIBOutletCollection(Sema &S, Decl *D, const AttributeList &Attr) argument 1122 handleAllocSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1197 handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1444 handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1519 handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1548 handleMinSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1564 handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1585 handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1606 handleNakedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1622 handleAlwaysInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1641 handleTLSModelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1678 handleMallocAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1698 handleMayAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1708 handleNoCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1719 handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1756 handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1782 handleCXX11NoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1800 handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1862 handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, const AttributeList &Attr) argument 1883 handleUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1902 handleReturnsTwiceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1921 handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1944 handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 1975 handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2007 handleAttrWithMessage(Sema &S, Decl *D, const AttributeList &Attr, const char *Name) argument 2031 handleArcWeakrefUnavailableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2044 handleObjCRootClassAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2062 handleObjCRequiresPropertyDefsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2262 handleAvailabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2330 handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, bool isTypeVisibility) argument 2399 handleObjCMethodFamilyAttr(Sema &S, Decl *decl, const AttributeList &Attr) argument 2452 handleObjCExceptionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2468 handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) argument 2502 handleOverloadableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2518 handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2544 handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2638 handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) argument 2666 handleWeakAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2690 handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2720 handleWorkGroupSize(Sema &S, Decl *D, const AttributeList &Attr) argument 2775 handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) argument 2805 handleEndianAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2828 handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2864 handleNothrowAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2881 handleConstAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2898 handlePureAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2908 handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 2973 handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3076 handleInitPriorityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3150 handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3291 handleTransparentUnionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3360 handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3388 handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3555 handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3723 handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3745 handleNoInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3762 handleNoInstrumentFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3780 handleConstantAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3802 handleDeviceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3824 handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3859 handleHostAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3880 handleSharedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3900 handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 3922 handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4008 handleOpenCLKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4013 handleOpenCLImageAccessAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4100 handleRegparmAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4120 CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) argument 4158 handleLaunchBoundsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4205 handleArgumentWithTypeTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4256 handleTypeTagForDatatypeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4290 handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4323 handleNSConsumesSelfAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4336 handleNSReturnsRetainedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4507 handleNSBridgedAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument 4538 handleObjCOwnershipAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4546 handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4597 handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4652 handleInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4676 handlePortabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4695 handleForceInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument 4708 ProcessNonInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument 4719 ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument 5020 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr, bool NonInheritable, bool Inheritable, bool IncludeCXX11Attributes) argument [all...] |