reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 6470   if (handleCommonAttributeFeatures(S, D, AL))
 6481         << AL << D->getLocation();
 6484     handleInterruptAttr(S, D, AL);
 6487     handleX86ForceAlignArgPointerAttr(S, D, AL);
 6491     handleDLLAttr(S, D, AL);
 6495                                         MipsInterruptAttr>(S, D, AL);
 6498     handleSimpleAttribute<NoMips16Attr>(S, D, AL);
 6501     handleSimpleAttributeWithExclusions<MicroMipsAttr, Mips16Attr>(S, D, AL);
 6504     handleSimpleAttribute<NoMicroMipsAttr>(S, D, AL);
 6508         S, D, AL);
 6512         S, D, AL);
 6515     handleAMDGPUFlatWorkGroupSizeAttr(S, D, AL);
 6518     handleAMDGPUWavesPerEUAttr(S, D, AL);
 6521     handleAMDGPUNumSGPRAttr(S, D, AL);
 6524     handleAMDGPUNumVGPRAttr(S, D, AL);
 6527     handleAVRSignalAttr(S, D, AL);
 6530     handleWebAssemblyImportModuleAttr(S, D, AL);
 6533     handleWebAssemblyImportNameAttr(S, D, AL);
 6536     handleSimpleAttribute<IBActionAttr>(S, D, AL);
 6539     handleIBOutlet(S, D, AL);
 6542     handleIBOutletCollection(S, D, AL);
 6545     handleIFuncAttr(S, D, AL);
 6548     handleAliasAttr(S, D, AL);
 6551     handleAlignedAttr(S, D, AL);
 6554     handleAlignValueAttr(S, D, AL);
 6557     handleAllocSizeAttr(S, D, AL);
 6560     handleAlwaysInlineAttr(S, D, AL);
 6563     handleSimpleAttribute<ArtificialAttr>(S, D, AL);
 6566     handleAnalyzerNoReturnAttr(S, D, AL);
 6569     handleTLSModelAttr(S, D, AL);
 6572     handleAnnotateAttr(S, D, AL);
 6575     handleAvailabilityAttr(S, D, AL);
 6578     handleDependencyAttr(S, scope, D, AL);
 6582     handleCPUSpecificAttr(S, D, AL);
 6585     handleCommonAttr(S, D, AL);
 6588     handleConstantAttr(S, D, AL);
 6591     handlePassObjectSizeAttr(S, D, AL);
 6594     handleConstructorAttr(S, D, AL);
 6597     handleSimpleAttribute<CXX11NoReturnAttr>(S, D, AL);
 6600     handleDeprecatedAttr(S, D, AL);
 6603     handleDestructorAttr(S, D, AL);
 6606     handleEnableIfAttr(S, D, AL);
 6609     handleDiagnoseIfAttr(S, D, AL);
 6612     handleExtVectorTypeAttr(S, D, AL);
 6615     handleExternalSourceSymbolAttr(S, D, AL);
 6618     handleMinSizeAttr(S, D, AL);
 6621     handleOptimizeNoneAttr(S, D, AL);
 6624     handleSimpleAttribute<FlagEnumAttr>(S, D, AL);
 6627     handleEnumExtensibilityAttr(S, D, AL);
 6630     handleSimpleAttribute<FlattenAttr>(S, D, AL);
 6633     handleFormatAttr(S, D, AL);
 6636     handleFormatArgAttr(S, D, AL);
 6639     handleCallbackAttr(S, D, AL);
 6642     handleGlobalAttr(S, D, AL);
 6645     handleSimpleAttributeWithExclusions<CUDADeviceAttr, CUDAGlobalAttr>(S, D,
 6649     handleSimpleAttributeWithExclusions<CUDAHostAttr, CUDAGlobalAttr>(S, D, AL);
 6653                                         CUDAConstantAttr>(S, D, AL);
 6656     handleGNUInlineAttr(S, D, AL);
 6659     handleLaunchBoundsAttr(S, D, AL);
 6662     handleRestrictAttr(S, D, AL);
 6665     handleSimpleAttribute<LifetimeBoundAttr>(S, D, AL);
 6668     handleSimpleAttribute<MayAliasAttr>(S, D, AL);
 6671     handleModeAttr(S, D, AL);
 6674     handleSimpleAttribute<NoAliasAttr>(S, D, AL);
 6677     handleSimpleAttribute<NoCommonAttr>(S, D, AL);
 6680     handleSimpleAttribute<NoSplitStackAttr>(S, D, AL);
 6683     handleSimpleAttribute<NoUniqueAddressAttr>(S, D, AL);
 6686     if (auto *PVD = dyn_cast<ParmVarDecl>(D))
 6689       handleNonNullAttr(S, D, AL);
 6692     handleReturnsNonNullAttr(S, D, AL);
 6695     handleNoEscapeAttr(S, D, AL);
 6698     handleAssumeAlignedAttr(S, D, AL);
 6701     handleAllocAlignAttr(S, D, AL);
 6704     handleSimpleAttribute<OverloadableAttr>(S, D, AL);
 6707     handleOwnershipAttr(S, D, AL);
 6710     handleSimpleAttributeWithExclusions<ColdAttr, HotAttr>(S, D, AL);
 6713     handleSimpleAttributeWithExclusions<HotAttr, ColdAttr>(S, D, AL);
 6716     handleNakedAttr(S, D, AL);
 6719     handleNoReturnAttr(S, D, AL);
 6722     handleNoCfCheckAttr(S, D, AL);
 6726       handleSimpleAttribute<NoThrowAttr>(S, D, AL);
 6729     handleSharedAttr(S, D, AL);
 6732     handleVecReturnAttr(S, D, AL);
 6735     handleObjCOwnershipAttr(S, D, AL);
 6738     handleObjCPreciseLifetimeAttr(S, D, AL);
 6741     handleObjCReturnsInnerPointerAttr(S, D, AL);
 6744     handleObjCRequiresSuperAttr(S, D, AL);
 6747     handleObjCBridgeAttr(S, D, AL);
 6750     handleObjCBridgeMutableAttr(S, D, AL);
 6753     handleObjCBridgeRelatedAttr(S, D, AL);
 6756     handleObjCDesignatedInitializer(S, D, AL);
 6759     handleObjCRuntimeName(S, D, AL);
 6762     handleSimpleAttribute<ObjCRuntimeVisibleAttr>(S, D, AL);
 6765     handleObjCBoxable(S, D, AL);
 6769                                         CFUnknownTransferAttr>(S, D, AL);
 6773                                         CFAuditedTransferAttr>(S, D, AL);
 6778     S.AddXConsumedAttr(D, AL, parsedAttrToRetainOwnershipKind(AL),
 6782     handleSimpleAttribute<NSConsumesSelfAttr>(S, D, AL);
 6785     handleSimpleAttribute<OSConsumesThisAttr>(S, D, AL);
 6789         S, D, AL, isValidOSObjectOutParameter(D),
 6789         S, D, AL, isValidOSObjectOutParameter(D),
 6795         S, D, AL, isValidOSObjectOutParameter(D),
 6795         S, D, AL, isValidOSObjectOutParameter(D),
 6806     handleXReturnsXRetainedAttr(S, D, AL);
 6809     handleWorkGroupSize<WorkGroupSizeHintAttr>(S, D, AL);
 6812     handleWorkGroupSize<ReqdWorkGroupSizeAttr>(S, D, AL);
 6815     handleSubGroupSize(S, D, AL);
 6818     handleVecTypeHint(S, D, AL);
 6821     handleSimpleAttribute<ConstInitAttr>(S, D, AL);
 6824     handleInitPriorityAttr(S, D, AL);
 6827     handlePackedAttr(S, D, AL);
 6830     handleSectionAttr(S, D, AL);
 6834                                         NoSpeculativeLoadHardeningAttr>(S, D,
 6839                                         SpeculativeLoadHardeningAttr>(S, D, AL);
 6842     handleCodeSegAttr(S, D, AL);
 6845     handleTargetAttr(S, D, AL);
 6848     handleMinVectorWidthAttr(S, D, AL);
 6851     handleAttrWithMessage<UnavailableAttr>(S, D, AL);
 6854     handleSimpleAttribute<ArcWeakrefUnavailableAttr>(S, D, AL);
 6857     handleSimpleAttribute<ObjCRootClassAttr>(S, D, AL);
 6860     handleSimpleAttribute<ObjCNonLazyClassAttr>(S, D, AL);
 6863     handleSimpleAttribute<ObjCSubclassingRestrictedAttr>(S, D, AL);
 6866     handleSimpleAttribute<ObjCClassStubAttr>(S, D, AL);
 6869     handleObjCSuppresProtocolAttr(S, D, AL);
 6872     handleSimpleAttribute<ObjCRequiresPropertyDefsAttr>(S, D, AL);
 6875     handleUnusedAttr(S, D, AL);
 6878     handleSimpleAttribute<ReturnsTwiceAttr>(S, D, AL);
 6882         S, D, AL);
 6885     handleSimpleAttributeWithExclusions<DisableTailCallsAttr, NakedAttr>(S, D,
 6889     handleSimpleAttribute<UsedAttr>(S, D, AL);
 6892     handleVisibilityAttr(S, D, AL, false);
 6895     handleVisibilityAttr(S, D, AL, true);
 6898     handleSimpleAttribute<WarnUnusedAttr>(S, D, AL);
 6901     handleWarnUnusedResult(S, D, AL);
 6904     handleSimpleAttribute<WeakAttr>(S, D, AL);
 6907     handleWeakRefAttr(S, D, AL);
 6910     handleWeakImportAttr(S, D, AL);
 6913     handleTransparentUnionAttr(S, D, AL);
 6916     handleSimpleAttribute<ObjCExceptionAttr>(S, D, AL);
 6919     handleObjCMethodFamilyAttr(S, D, AL);
 6922     handleObjCNSObject(S, D, AL);
 6925     handleObjCIndependentClass(S, D, AL);
 6928     handleBlocksAttr(S, D, AL);
 6931     handleSentinelAttr(S, D, AL);
 6934     handleSimpleAttribute<ConstAttr>(S, D, AL);
 6937     handleSimpleAttribute<PureAttr>(S, D, AL);
 6940     handleCleanupAttr(S, D, AL);
 6943     handleNoDebugAttr(S, D, AL);
 6946     handleSimpleAttribute<NoDuplicateAttr>(S, D, AL);
 6949     handleSimpleAttribute<ConvergentAttr>(S, D, AL);
 6952     handleSimpleAttribute<NoInlineAttr>(S, D, AL);
 6955     handleSimpleAttribute<NoInstrumentFunctionAttr>(S, D, AL);
 6959     handleSimpleAttribute<NoStackProtectorAttr>(S, D, AL);
 6962     handleSimpleAttribute<CFICanonicalJumpTableAttr>(S, D, AL);
 6979     handleCallConvAttr(S, D, AL);
 6982     handleSuppressAttr(S, D, AL);
 6986     handleLifetimeCategoryAttr(S, D, AL);
 6989     handleSimpleAttribute<OpenCLKernelAttr>(S, D, AL);
 6992     handleOpenCLAccessAttr(S, D, AL);
 6995     handleOpenCLNoSVMAttr(S, D, AL);
 6998     S.AddParameterABIAttr(D, AL, ParameterABI::SwiftContext);
 7001     S.AddParameterABIAttr(D, AL, ParameterABI::SwiftErrorResult);
 7004     S.AddParameterABIAttr(D, AL, ParameterABI::SwiftIndirectResult);
 7007     handleInternalLinkageAttr(S, D, AL);
 7010     handleSimpleAttribute<ExcludeFromExplicitInstantiationAttr>(S, D, AL);
 7013     handleSimpleAttribute<LTOVisibilityPublicAttr>(S, D, AL);
 7018     handleSimpleAttribute<EmptyBasesAttr>(S, D, AL);
 7021     handleLayoutVersion(S, D, AL);
 7024     handleSimpleAttribute<TrivialABIAttr>(S, D, AL);
 7027     handleSimpleAttribute<MSNoVTableAttr>(S, D, AL);
 7030     handleSimpleAttribute<MSStructAttr>(S, D, AL);
 7033     handleUuidAttr(S, D, AL);
 7036     handleMSInheritanceAttr(S, D, AL);
 7039     handleSimpleAttribute<SelectAnyAttr>(S, D, AL);
 7042     handleDeclspecThreadAttr(S, D, AL);
 7046     handleAbiTagAttr(S, D, AL);
 7051     handleAssertExclusiveLockAttr(S, D, AL);
 7054     handleAssertSharedLockAttr(S, D, AL);
 7057     handleSimpleAttribute<GuardedVarAttr>(S, D, AL);
 7060     handlePtGuardedVarAttr(S, D, AL);
 7063     handleSimpleAttribute<ScopedLockableAttr>(S, D, AL);
 7066     handleNoSanitizeAttr(S, D, AL);
 7069     handleNoSanitizeSpecificAttr(S, D, AL);
 7072     handleSimpleAttribute<NoThreadSafetyAnalysisAttr>(S, D, AL);
 7075     handleGuardedByAttr(S, D, AL);
 7078     handlePtGuardedByAttr(S, D, AL);
 7081     handleExclusiveTrylockFunctionAttr(S, D, AL);
 7084     handleLockReturnedAttr(S, D, AL);
 7087     handleLocksExcludedAttr(S, D, AL);
 7090     handleSharedTrylockFunctionAttr(S, D, AL);
 7093     handleAcquiredBeforeAttr(S, D, AL);
 7096     handleAcquiredAfterAttr(S, D, AL);
 7102     handleCapabilityAttr(S, D, AL);
 7105     handleRequiresCapabilityAttr(S, D, AL);
 7109     handleAssertCapabilityAttr(S, D, AL);
 7112     handleAcquireCapabilityAttr(S, D, AL);
 7115     handleReleaseCapabilityAttr(S, D, AL);
 7118     handleTryAcquireCapabilityAttr(S, D, AL);
 7123     handleConsumableAttr(S, D, AL);
 7126     handleSimpleAttribute<ConsumableAutoCastAttr>(S, D, AL);
 7129     handleSimpleAttribute<ConsumableSetOnReadAttr>(S, D, AL);
 7132     handleCallableWhenAttr(S, D, AL);
 7135     handleParamTypestateAttr(S, D, AL);
 7138     handleReturnTypestateAttr(S, D, AL);
 7141     handleSetTypestateAttr(S, D, AL);
 7144     handleTestTypestateAttr(S, D, AL);
 7149     handleArgumentWithTypeTagAttr(S, D, AL);
 7152     handleTypeTagForDatatypeAttr(S, D, AL);
 7155     handleSimpleAttribute<AnyX86NoCallerSavedRegistersAttr>(S, D, AL);
 7158     handleSimpleAttribute<RenderScriptKernelAttr>(S, D, AL);
 7162     handleSimpleAttribute<XRayInstrumentAttr>(S, D, AL);
 7165     handleXRayLogArgsAttr(S, D, AL);
 7170     handleSimpleAttribute<ReinitializesAttr>(S, D, AL);
 7175     handleDestroyAttr(S, D, AL);
 7179     handleUninitializedAttr(S, D, AL);
 7183     handleObjCExternallyRetainedAttr(S, D, AL);
 7187     handleMIGServerRoutineAttr(S, D, AL);
 7191     handleMSAllocatorAttr(S, D, AL);
 7195     handleArmMveAliasAttr(S, D, AL);