|
clang
3.8.0
|
AttributeList - Represents a syntactic attribute. More...
#include <AttributeList.h>
Classes | |
| struct | PropertyData |
| struct | TypeTagForDatatypeData |
Public Types | |
| enum | Syntax { AS_GNU, AS_CXX11, AS_Declspec, AS_Keyword, AS_ContextSensitiveKeyword, AS_Pragma } |
| The style used to specify an attribute. More... | |
| enum | Kind { IgnoredAttribute, UnknownAttribute } |
Static Public Member Functions | |
| static Kind | getKind (const IdentifierInfo *Name, const IdentifierInfo *Scope, Syntax SyntaxUsed) |
Friends | |
| class | AttributePool |
| class | AttributeFactory |
AttributeList - Represents a syntactic attribute.
For a GNU attribute, there are four forms of this construct:
1: attribute(( const )). ParmName/Args/NumArgs will all be unused. 2: attribute(( mode(byte) )). ParmName used, Args/NumArgs unused. 3: attribute(( format(printf, 1, 2) )). ParmName/Args/NumArgs all used. 4: attribute(( aligned(16) )). ParmName is unused, Args/Num used.
Definition at line 72 of file AttributeList.h.
| Enumerator | |
|---|---|
| IgnoredAttribute | |
| UnknownAttribute | |
Definition at line 321 of file AttributeList.h.
The style used to specify an attribute.
Definition at line 75 of file AttributeList.h.
Definition at line 191 of file AttributeList.cpp.
References ParsedAttrInfo::DiagAppertainsToDecl, and getInfo().
Referenced by handleCommonAttributeFeatures().
Definition at line 195 of file AttributeList.cpp.
References ParsedAttrInfo::DiagLangOpts, and getInfo().
Referenced by handleCommonAttributeFeatures().
| bool AttributeList::existsInTarget | ( | const TargetInfo & | Target | ) | const |
Definition at line 207 of file AttributeList.cpp.
References ParsedAttrInfo::ExistsInTarget, and getInfo().
Referenced by ProcessDeclAttribute().
getArg - Return the specified argument.
Definition at line 381 of file AttributeList.h.
References clang::NumArgs.
Referenced by getArgAsExpr(), getArgAsIdent(), isArgExpr(), and isArgIdent().
Definition at line 389 of file AttributeList.h.
References getArg().
Referenced by checkAttrArgsAreCapabilityObjs(), clang::Sema::CheckRegparmAttr(), clang::Sema::checkStringLiteralArgumentAttr(), checkTryLockFunAttrCommon(), fillAttributedTypeLoc(), getCCTypeAttrKind(), HandleAddressSpaceTypeAttribute(), handleAlignedAttr(), handleAlignValueAttr(), handleAMDGPUNumSGPRAttr(), handleAMDGPUNumVGPRAttr(), handleArgumentWithTypeTagAttr(), handleAssertCapabilityAttr(), handleAssumeAlignedAttr(), handleCleanupAttr(), handleConstructorAttr(), handleDestructorAttr(), handleEnableIfAttr(), handleExclusiveTrylockFunctionAttr(), HandleExtVectorTypeAttr(), handleFormatArgAttr(), handleFormatAttr(), handleInitPriorityAttr(), handleLaunchBoundsAttr(), handleLoopHintAttr(), handleMSP430InterruptAttr(), HandleNeonVectorTypeAttr(), handleNonNullAttr(), handleOwnershipAttr(), handlePassObjectSizeAttr(), handleSentinelAttr(), handleSharedTrylockFunctionAttr(), handleTryAcquireCapabilityAttr(), HandleVectorSizeAttr(), and handleWorkGroupSize().
|
inline |
Definition at line 396 of file AttributeList.h.
References getArg().
Referenced by clang::Sema::checkStringLiteralArgumentAttr(), diagnoseBadTypeAttribute(), fillAttributedTypeLoc(), getCCTypeAttrKind(), handleArgumentWithTypeTagAttr(), handleAvailabilityAttr(), handleBlocksAttr(), handleCallableWhenAttr(), handleConsumableAttr(), HandleExtVectorTypeAttr(), handleFormatAttr(), handleLoopHintAttr(), handleModeAttr(), handleObjCBridgeAttr(), handleObjCBridgeMutableAttr(), handleObjCBridgeRelatedAttr(), handleObjCGCTypeAttr(), handleObjCMethodFamilyAttr(), handleObjCOwnershipTypeAttr(), handleOwnershipAttr(), handleParamTypestateAttr(), handleReturnTypestateAttr(), handleSetTypestateAttr(), handleTestTypestateAttr(), and handleTypeTagForDatatypeAttr().
| unsigned AttributeList::getAttributeSpellingListIndex | ( | ) | const |
Get an index into the attribute spelling list defined in Attr.td.
This index is used by an attribute to pretty print itself.
Definition at line 145 of file AttributeList.cpp.
References clang::IdentifierInfo::getName(), clang::Name, and normalizeAttrName().
Referenced by handleAcquireCapabilityAttr(), handleAcquiredAfterAttr(), handleAcquiredBeforeAttr(), handleAliasAttr(), handleAlignedAttr(), handleAlignValueAttr(), handleAlwaysInlineAttr(), handleAMDGPUNumSGPRAttr(), handleAMDGPUNumVGPRAttr(), handleAnalyzerNoReturnAttr(), handleAnnotateAttr(), handleArgumentWithTypeTagAttr(), handleARMInterruptAttr(), handleAssertCapabilityAttr(), handleAssertExclusiveLockAttr(), handleAssertSharedLockAttr(), handleAssumeAlignedAttr(), handleAttrWithMessage(), handleAvailabilityAttr(), handleBlocksAttr(), handleCallableWhenAttr(), handleCallConvAttr(), handleCapabilityAttr(), handleCFAuditedTransferAttr(), handleCFUnknownTransferAttr(), handleCleanupAttr(), handleColdAttr(), handleCommonAttr(), handleConstructorAttr(), handleConsumableAttr(), handleDeclspecThreadAttr(), handleDependencyAttr(), handleDestructorAttr(), handleDisableTailCallsAttr(), handleDLLAttr(), handleEnableIfAttr(), handleExclusiveTrylockFunctionAttr(), handleFallThroughAttr(), handleFormatArgAttr(), handleFormatAttr(), handleGlobalAttr(), handleGNUInlineAttr(), handleGuardedByAttr(), handleHotAttr(), handleIBOutlet(), handleIBOutletCollection(), handleInitPriorityAttr(), handleInternalLinkageAttr(), handleLaunchBoundsAttr(), handleLockReturnedAttr(), handleLocksExcludedAttr(), handleMinSizeAttr(), handleMipsInterruptAttr(), handleModeAttr(), handleMSInheritanceAttr(), handleMSP430InterruptAttr(), handleNakedAttr(), handleNoDebugAttr(), handleNonNullAttr(), handleNonNullAttrParameter(), handleNoReturnAttr(), handleNoSanitizeAttr(), handleNoSanitizeSpecificAttr(), handleNotTailCalledAttr(), handleNSConsumedAttr(), handleNSReturnsRetainedAttr(), handleObjCBoxable(), handleObjCBridgeAttr(), handleObjCBridgeMutableAttr(), handleObjCBridgeRelatedAttr(), handleObjCDesignatedInitializer(), handleObjCIndependentClass(), handleObjCMethodFamilyAttr(), handleObjCNSObject(), handleObjCPreciseLifetimeAttr(), handleObjCRequiresSuperAttr(), handleObjCReturnsInnerPointerAttr(), handleObjCRuntimeName(), handleObjCSuppresProtocolAttr(), handleOptimizeNoneAttr(), handleOwnershipAttr(), handlePackedAttr(), handleParamTypestateAttr(), handlePassObjectSizeAttr(), handlePtGuardedByAttr(), handlePtGuardedVarAttr(), handleReleaseCapabilityAttr(), handleRequiresCapabilityAttr(), handleRestrictAttr(), handleReturnsNonNullAttr(), handleReturnTypestateAttr(), handleSectionAttr(), handleSentinelAttr(), handleSetTypestateAttr(), handleSharedTrylockFunctionAttr(), handleSimpleAttribute(), handleTargetAttr(), handleTestTypestateAttr(), handleTLSModelAttr(), handleTransparentUnionAttr(), handleTryAcquireCapabilityAttr(), handleTypeTagForDatatypeAttr(), handleUsedAttr(), handleUuidAttr(), handleVecReturnAttr(), handleVecTypeHint(), handleVisibilityAttr(), handleWarnUnusedResult(), handleWeakImportAttr(), handleWeakRefAttr(), handleWorkGroupSize(), and handleX86ForceAlignArgPointerAttr().
|
inline |
Definition at line 405 of file AttributeList.h.
References getKind().
Referenced by handleAvailabilityAttr().
|
inline |
Definition at line 400 of file AttributeList.h.
References getKind().
Referenced by handleAvailabilityAttr().
|
inline |
Definition at line 410 of file AttributeList.h.
References getKind().
Referenced by handleAvailabilityAttr().
|
inline |
Definition at line 368 of file AttributeList.h.
Referenced by handleAlignedAttr().
|
inline |
Definition at line 370 of file AttributeList.h.
Referenced by clang::Sema::CheckCallingConvAttr(), checkUnusedDeclAttributes(), diagnoseBadTypeAttribute(), distributeNullabilityTypeAttr(), distributeObjCPointerTypeAttr(), fillAttributedTypeLoc(), getAvailabilityDeprecated(), getAvailabilityIntroduced(), getAvailabilityObsoleted(), getCCTypeAttrKind(), getInfo(), getLayoutCompatible(), getMatchingCType(), getMessageExpr(), getMustBeNull(), getUnavailableLoc(), HandleAddressSpaceTypeAttribute(), handleCallConvAttr(), handleCapabilityAttr(), handleCommonAttributeFeatures(), handleDLLAttr(), handleFunctionTypeAttr(), handleMSPointerTypeQualifierAttr(), handleNSConsumedAttr(), handleNSReturnsRetainedAttr(), handleObjCPointerTypeAttr(), isAlignasAttribute(), IsBuiltInOrStandardCXX11Attribute(), ProcessDeclAttribute(), ProcessStmtAttribute(), and processTypeAttrs().
|
static |
Definition at line 125 of file AttributeList.cpp.
References AS_CXX11, clang::IdentifierInfo::getName(), and normalizeAttrName().
|
inline |
Definition at line 431 of file AttributeList.h.
References getKind(), and clang::AttributeList::TypeTagForDatatypeData::LayoutCompatible.
Referenced by handleTypeTagForDatatypeAttr().
|
inline |
Definition at line 330 of file AttributeList.h.
References clang::SourceRange::getBegin().
Referenced by attrNonNullArgCheck(), checkAcquireOrderAttrCommon(), checkAttrArgsAreCapabilityObjs(), checkAttributeNumArgsImpl(), clang::Sema::CheckCallingConvAttr(), checkForConsumableClass(), checkFunctionOrMethodParameterIndex(), checkIBOutletCommon(), clang::Sema::CheckRegparmAttr(), checkTryLockFunAttrCommon(), checkUInt32Argument(), checkUnusedDeclAttributes(), diagnoseBadTypeAttribute(), distributeNullabilityTypeAttr(), fillAttributedTypeLoc(), HandleAddressSpaceTypeAttribute(), handleAliasAttr(), handleAlignedAttr(), handleAMDGPUNumSGPRAttr(), handleAMDGPUNumVGPRAttr(), handleAnalyzerNoReturnAttr(), handleArgumentWithTypeTagAttr(), handleARMInterruptAttr(), handleAvailabilityAttr(), handleBlocksAttr(), handleCallConvAttr(), handleCleanupAttr(), handleCommonAttr(), handleConsumableAttr(), handleDeclspecThreadAttr(), handleDependencyAttr(), handleDeprecatedAttr(), handleEnableIfAttr(), HandleExtVectorTypeAttr(), handleFormatArgAttr(), handleFormatAttr(), handleFunctionTypeAttr(), handleGNUInlineAttr(), handleIBOutletCollection(), handleInitPriorityAttr(), handleMipsInterruptAttr(), handleModeAttr(), handleMSInheritanceAttr(), handleMSP430InterruptAttr(), handleMSPointerTypeQualifierAttr(), HandleNeonVectorTypeAttr(), handleNoDebugAttr(), handleNonNullAttr(), handleNonNullAttrParameter(), handleNoReturnAttr(), handleObjCBridgeAttr(), handleObjCGCTypeAttr(), handleObjCMethodFamilyAttr(), handleObjCOwnershipTypeAttr(), handleObjCPreciseLifetimeAttr(), handleObjCReturnsInnerPointerAttr(), handleObjCSuppresProtocolAttr(), handleOwnershipAttr(), handlePackedAttr(), handleParamTypestateAttr(), handleRestrictAttr(), handleReturnTypestateAttr(), handleSentinelAttr(), handleSetTypestateAttr(), handleTestTypestateAttr(), handleTransparentUnionAttr(), handleTypeTagForDatatypeAttr(), handleUsedAttr(), handleUuidAttr(), handleVecReturnAttr(), HandleVectorSizeAttr(), handleVecTypeHint(), handleVisibilityAttr(), handleWarnUnusedResult(), handleWeakImportAttr(), handleWeakRefAttr(), handleWorkGroupSize(), handleX86ForceAlignArgPointerAttr(), ProcessDeclAttribute(), clang::Sema::ProcessDeclAttributeList(), ProcessStmtAttribute(), processTypeAttrs(), and threadSafetyCheckIsPointer().
|
inline |
Definition at line 425 of file AttributeList.h.
References getKind(), and clang::AttributeList::TypeTagForDatatypeData::MatchingCType.
Referenced by handleTypeTagForDatatypeAttr().
| unsigned AttributeList::getMaxArgs | ( | ) | const |
Definition at line 183 of file AttributeList.cpp.
References getInfo(), getMinArgs(), and ParsedAttrInfo::OptArgs.
Referenced by handleCommonAttributeFeatures().
|
inline |
Definition at line 420 of file AttributeList.h.
References getKind().
Referenced by handleAvailabilityAttr().
| unsigned AttributeList::getMinArgs | ( | ) | const |
Definition at line 179 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::NumArgs.
Referenced by getMaxArgs(), and handleCommonAttributeFeatures().
|
inline |
Definition at line 437 of file AttributeList.h.
References getKind(), and clang::AttributeList::TypeTagForDatatypeData::MustBeNull.
Referenced by handleTypeTagForDatatypeAttr().
|
inline |
Definition at line 329 of file AttributeList.h.
Referenced by attrNonNullArgCheck(), checkAcquireOrderAttrCommon(), checkAttrArgsAreCapabilityObjs(), checkAttributeNumArgsImpl(), clang::Sema::CheckCallingConvAttr(), checkFunctionOrMethodParameterIndex(), checkIBOutletCommon(), clang::Sema::checkStringLiteralArgumentAttr(), checkTryLockFunAttrCommon(), checkUInt32Argument(), checkUnusedDeclAttributes(), diagnoseBadTypeAttribute(), distributeNullabilityTypeAttr(), HandleAddressSpaceTypeAttribute(), handleAlignedAttr(), handleAlwaysInlineAttr(), handleAnalyzerNoReturnAttr(), handleArgumentWithTypeTagAttr(), handleARMInterruptAttr(), handleAvailabilityAttr(), handleBlocksAttr(), handleCallableWhenAttr(), handleCallConvAttr(), handleCFAuditedTransferAttr(), handleCFUnknownTransferAttr(), handleCleanupAttr(), handleColdAttr(), handleCommonAttr(), handleConsumableAttr(), handleDisableTailCallsAttr(), handleDLLAttr(), HandleExtVectorTypeAttr(), handleFormatAttr(), handleGlobalAttr(), handleHotAttr(), handleIBOutletCollection(), handleInitPriorityAttr(), handleInternalLinkageAttr(), handleMipsInterruptAttr(), handleModeAttr(), handleMSInheritanceAttr(), handleMSP430InterruptAttr(), handleMSPointerTypeQualifierAttr(), handleNakedAttr(), HandleNeonVectorTypeAttr(), handleNoDebugAttr(), handleNoReturnAttr(), handleNoSanitizeSpecificAttr(), handleNotTailCalledAttr(), handleNSConsumedAttr(), handleNSReturnsRetainedAttr(), handleObjCBridgeAttr(), handleObjCBridgeMutableAttr(), handleObjCBridgeRelatedAttr(), handleObjCGCTypeAttr(), handleObjCMethodFamilyAttr(), handleObjCOwnershipAttr(), handleObjCOwnershipTypeAttr(), handleObjCRequiresSuperAttr(), handleObjCReturnsInnerPointerAttr(), handleObjCSuppresProtocolAttr(), handleOwnershipAttr(), handlePackedAttr(), handleParamTypestateAttr(), handlePassObjectSizeAttr(), handleRestrictAttr(), handleReturnTypestateAttr(), handleSentinelAttr(), handleSetTypestateAttr(), handleSimpleAttributeWithExclusions(), handleTestTypestateAttr(), handleTransparentUnionAttr(), handleTypeTagForDatatypeAttr(), handleUsedAttr(), handleUuidAttr(), HandleVectorSizeAttr(), handleVecTypeHint(), handleVisibilityAttr(), handleWarnUnusedResult(), handleWeakImportAttr(), handleWeakRefAttr(), handleWorkGroupSize(), handleX86ForceAlignArgPointerAttr(), ProcessDeclAttribute(), ProcessStmtAttribute(), processTypeAttrs(), and threadSafetyCheckIsPointer().
|
inline |
Definition at line 374 of file AttributeList.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFinishCXXMemberSpecification(), clang::ParsedAttributes::add(), clang::ParsedAttributes::addAll(), checkUnusedDeclAttributes(), distributeTypeAttrsFromDeclarator(), fillAttributedTypeLoc(), clang::Declarator::getCXX11AttributeRanges(), GetFullTypeForDeclarator(), getMSPropertyAttr(), hasNullabilityAttr(), hasParsedAttr(), inferARCWriteback(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ProcessAccessDeclAttributeList(), clang::Sema::ProcessDeclAttributeList(), clang::Sema::ProcessStmtAttributes(), processTypeAttrs(), spliceAttrOutOfList(), takeDeclAttributes(), and transferARCOwnershipToDeclaratorChunk().
|
inline |
getNumArgs - Return the number of actual arguments to this attribute.
Definition at line 378 of file AttributeList.h.
References clang::NumArgs.
Referenced by checkAttrArgsAreCapabilityObjs(), getNumAttributeArgs(), HandleAddressSpaceTypeAttribute(), handleAlignedAttr(), handleARMInterruptAttr(), handleAssumeAlignedAttr(), handleAttrWithMessage(), handleCallableWhenAttr(), handleConstructorAttr(), handleDestructorAttr(), HandleExtVectorTypeAttr(), handleFunctionTypeAttr(), handleIBOutletCollection(), handleLaunchBoundsAttr(), handleMipsInterruptAttr(), HandleNeonVectorTypeAttr(), handleNonNullAttr(), handleNonNullAttrParameter(), handleNoSanitizeAttr(), handleObjCGCTypeAttr(), handleOwnershipAttr(), handleSentinelAttr(), HandleVectorSizeAttr(), and handleWeakRefAttr().
|
inline |
Definition at line 448 of file AttributeList.h.
References isDeclspecPropertyAttribute().
Referenced by clang::Sema::HandleMSProperty().
|
inline |
Definition at line 331 of file AttributeList.h.
Referenced by checkUnusedDeclAttributes(), clang::Declarator::getCXX11AttributeRanges(), handleAcquireCapabilityAttr(), handleAcquiredAfterAttr(), handleAcquiredBeforeAttr(), handleAliasAttr(), handleAlignedAttr(), handleAlignValueAttr(), handleAlwaysInlineAttr(), handleAnalyzerNoReturnAttr(), handleAnnotateAttr(), handleArgumentWithTypeTagAttr(), handleAssertCapabilityAttr(), handleAssertExclusiveLockAttr(), handleAssertSharedLockAttr(), handleAssumeAlignedAttr(), handleAttrWithMessage(), handleAvailabilityAttr(), handleBlocksAttr(), handleCallableWhenAttr(), handleCallConvAttr(), handleCapabilityAttr(), handleCFAuditedTransferAttr(), handleCFUnknownTransferAttr(), handleCleanupAttr(), handleColdAttr(), handleCommonAttr(), handleConstructorAttr(), handleConsumableAttr(), handleDeclspecThreadAttr(), handleDependencyAttr(), handleDestructorAttr(), handleDisableTailCallsAttr(), handleDLLAttr(), handleEnableIfAttr(), handleExclusiveTrylockFunctionAttr(), handleFallThroughAttr(), handleFormatArgAttr(), handleFormatAttr(), handleGlobalAttr(), handleGNUInlineAttr(), handleGuardedByAttr(), handleHotAttr(), handleIBOutlet(), handleIBOutletCollection(), handleInitPriorityAttr(), handleInternalLinkageAttr(), handleLaunchBoundsAttr(), handleLockReturnedAttr(), handleLocksExcludedAttr(), handleLoopHintAttr(), handleMinSizeAttr(), handleMipsInterruptAttr(), handleModeAttr(), handleMSInheritanceAttr(), handleNakedAttr(), handleNoDebugAttr(), handleNonNullAttr(), handleNonNullAttrParameter(), handleNoReturnAttr(), handleNoSanitizeAttr(), handleNoSanitizeSpecificAttr(), handleNotTailCalledAttr(), handleNSConsumedAttr(), handleNSReturnsRetainedAttr(), handleObjCBoxable(), handleObjCBridgeAttr(), handleObjCBridgeMutableAttr(), handleObjCBridgeRelatedAttr(), handleObjCDesignatedInitializer(), handleObjCIndependentClass(), handleObjCMethodFamilyAttr(), handleObjCNSObject(), handleObjCOwnershipAttr(), handleObjCPreciseLifetimeAttr(), handleObjCRequiresSuperAttr(), handleObjCReturnsInnerPointerAttr(), handleObjCRuntimeName(), handleObjCSuppresProtocolAttr(), handleOptimizeNoneAttr(), handlePackedAttr(), handleParamTypestateAttr(), handlePassObjectSizeAttr(), handlePtGuardedByAttr(), handlePtGuardedVarAttr(), handleReleaseCapabilityAttr(), handleRequiresCapabilityAttr(), handleRestrictAttr(), handleReturnsNonNullAttr(), handleReturnTypestateAttr(), handleSectionAttr(), handleSentinelAttr(), handleSetTypestateAttr(), handleSharedTrylockFunctionAttr(), handleSimpleAttribute(), handleSimpleAttributeWithExclusions(), handleTargetAttr(), handleTestTypestateAttr(), handleTLSModelAttr(), handleTransparentUnionAttr(), handleTryAcquireCapabilityAttr(), handleTypeTagForDatatypeAttr(), handleUsedAttr(), handleUuidAttr(), handleVecReturnAttr(), handleVisibilityAttr(), handleWarnUnusedResult(), handleWeakImportAttr(), handleWeakRefAttr(), handleWorkGroupSize(), handleX86ForceAlignArgPointerAttr(), and ProcessStmtAttribute().
|
inline |
Definition at line 335 of file AttributeList.h.
|
inline |
Definition at line 334 of file AttributeList.h.
Referenced by handleDeprecatedAttr(), and processTypeAttrs().
| unsigned AttributeList::getSemanticSpelling | ( | ) | const |
If the parsed attribute has a semantic equivalent, and it would have a semantic Spelling enumeration (due to having semantically-distinct spelling variations), return the value of that semantic spelling.
If the parsed attribute does not have a semantic equivalent, or would not have a Spelling enumeration, the value UINT_MAX is returned.
Definition at line 215 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::SpellingIndexToSemanticSpelling.
Referenced by handleMSInheritanceAttr().
|
inline |
Definition at line 443 of file AttributeList.h.
Referenced by handleIBOutletCollection(), and handleVecTypeHint().
|
inline |
Definition at line 415 of file AttributeList.h.
References getKind().
Referenced by handleAvailabilityAttr().
| bool AttributeList::hasCustomParsing | ( | ) | const |
Definition at line 187 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::HasCustomParsing.
Referenced by handleCommonAttributeFeatures().
|
inline |
Definition at line 337 of file AttributeList.h.
Referenced by getNumAttributeArgs(), handleIBOutletCollection(), and handleVecTypeHint().
|
inline |
Definition at line 333 of file AttributeList.h.
Referenced by handleDeprecatedAttr().
| bool AttributeList::hasVariadicArg | ( | ) | const |
Definition at line 219 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::OptArgs.
Referenced by handleCommonAttributeFeatures().
|
inline |
Definition at line 344 of file AttributeList.h.
References getKind(), and isKeywordAttribute().
Referenced by isCXX11Attribute().
Definition at line 386 of file AttributeList.h.
References getArg(), and clang::NumArgs.
Referenced by fillAttributedTypeLoc(), getCCTypeAttrKind(), and handleMSP430InterruptAttr().
Definition at line 393 of file AttributeList.h.
References getArg(), and clang::NumArgs.
Referenced by clang::Sema::checkStringLiteralArgumentAttr(), diagnoseBadTypeAttribute(), fillAttributedTypeLoc(), handleArgumentWithTypeTagAttr(), handleBlocksAttr(), handleCallableWhenAttr(), handleConsumableAttr(), HandleExtVectorTypeAttr(), handleFormatAttr(), handleModeAttr(), handleObjCBridgeAttr(), handleObjCBridgeMutableAttr(), handleObjCBridgeRelatedAttr(), handleObjCGCTypeAttr(), handleObjCMethodFamilyAttr(), handleObjCOwnershipTypeAttr(), handleOwnershipAttr(), handleParamTypestateAttr(), handleReturnTypestateAttr(), handleSetTypestateAttr(), handleTestTypestateAttr(), and handleTypeTagForDatatypeAttr().
|
inline |
Definition at line 357 of file AttributeList.h.
References AS_ContextSensitiveKeyword.
Referenced by distributeNullabilityTypeAttr(), and processTypeAttrs().
|
inline |
Definition at line 350 of file AttributeList.h.
References AS_CXX11, and isAlignasAttribute().
Referenced by distributeFunctionTypeAttrFromDeclSpec(), clang::Declarator::getCXX11AttributeRanges(), handleAnalyzerNoReturnAttr(), handleDeprecatedAttr(), ProcessDeclAttribute(), and processTypeAttrs().
|
inline |
Definition at line 349 of file AttributeList.h.
References AS_Declspec.
Referenced by ProcessDeclAttribute(), and ProcessStmtAttribute().
|
inline |
Is this the Microsoft __declspec(property) attribute?
Definition at line 340 of file AttributeList.h.
Referenced by getPropertyData().
|
inline |
Definition at line 361 of file AttributeList.h.
Referenced by clang::Sema::CheckCallingConvAttr(), clang::Sema::CheckRegparmAttr(), checkUnusedDeclAttributes(), getCCTypeAttrKind(), ProcessDeclAttribute(), and processTypeAttrs().
|
inline |
Definition at line 353 of file AttributeList.h.
References AS_ContextSensitiveKeyword, and AS_Keyword.
Referenced by isAlignasAttribute().
| bool AttributeList::isKnownToGCC | ( | ) | const |
Definition at line 211 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::IsKnownToGCC.
|
inline |
Definition at line 367 of file AttributeList.h.
References clang::SourceLocation::isValid().
Referenced by handleAlignedAttr().
| bool AttributeList::isTargetSpecificAttr | ( | ) | const |
Definition at line 199 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::IsTargetSpecific.
| bool AttributeList::isTypeAttr | ( | ) | const |
Definition at line 203 of file AttributeList.cpp.
References getInfo(), and ParsedAttrInfo::IsType.
Referenced by ProcessDeclAttribute().
|
inline |
Definition at line 364 of file AttributeList.h.
Referenced by checkUnusedDeclAttributes(), and takeDeclAttributes().
Definition at line 362 of file AttributeList.h.
Referenced by clang::Sema::CheckCallingConvAttr(), clang::Sema::CheckNoReturnAttr(), clang::Sema::CheckRegparmAttr(), HandleAddressSpaceTypeAttribute(), handleFunctionTypeAttr(), handleInitPriorityAttr(), HandleNeonVectorTypeAttr(), handleObjCGCTypeAttr(), handleObjCOwnershipTypeAttr(), HandleVectorSizeAttr(), and processTypeAttrs().
|
inline |
Definition at line 375 of file AttributeList.h.
Referenced by clang::ParsedAttributes::add(), clang::ParsedAttributes::addAll(), spliceAttrIntoList(), spliceAttrOutOfList(), and takeDeclAttributes().
|
inline |
Definition at line 365 of file AttributeList.h.
Referenced by processTypeAttrs().
|
friend |
Definition at line 318 of file AttributeList.h.
|
friend |
Definition at line 317 of file AttributeList.h.
1.8.6