Lines Matching refs:hasAttr
377 return !fn->hasAttr<VisibilityAttr>(); in shouldConsiderTemplateVisibility()
413 return (computation.isTypeVisibility() && D->hasAttr<TypeVisibilityAttr>()) || in hasDirectVisibilityAttribute()
414 D->hasAttr<VisibilityAttr>(); in hasDirectVisibilityAttribute()
556 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); in useInlineVisibilityHidden()
1330 if (D->hasAttr<InternalLinkageAttr>()) in computeLVForDecl()
1446 if (D->hasAttr<InternalLinkageAttr>()) in getLVForDecl()
2014 if (!hasAttr<ThreadAttr>() && in getTLSKind()
2017 hasAttr<OMPThreadPrivateDeclAttr>())) in getTLSKind()
2021 hasAttr<OMPThreadPrivateDeclAttr>()) in getTLSKind()
2508 return hasAttr<BlocksAttr>() && NonParmVarDeclBits.EscapingByref; in isEscapingByref()
2512 return hasAttr<BlocksAttr>() && !NonParmVarDeclBits.EscapingByref; in isNonEscapingByref()
2630 hasExternalStorage() && hasAttr<CUDASharedAttr>() && in isKnownToBeDefined()
2638 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
2640 !hasAttr<AlwaysDestroyAttr>())); in isNoDestroy()
3160 if (hasAttr<OpenCLKernelAttr>()) in isInExternCContext()
3190 if (hasAttr<NoReturnAttr>() || hasAttr<CXX11NoReturnAttr>() || in isNoReturn()
3191 hasAttr<C11NoReturnAttr>()) in isNoReturn()
3202 if (hasAttr<TargetAttr>()) in getMultiVersionKind()
3204 if (hasAttr<CPUDispatchAttr>()) in getMultiVersionKind()
3206 if (hasAttr<CPUSpecificAttr>()) in getMultiVersionKind()
3212 return isMultiVersion() && hasAttr<CPUDispatchAttr>(); in isCPUDispatchMultiVersion()
3216 return isMultiVersion() && hasAttr<CPUSpecificAttr>(); in isCPUSpecificMultiVersion()
3220 return isMultiVersion() && hasAttr<TargetAttr>(); in isTargetMultiVersion()
3267 if (!ConsiderWrapperFunctions && hasAttr<OverloadableAttr>() && in getBuiltinID()
3268 !hasAttr<ArmBuiltinAliasAttr>()) in getBuiltinID()
3291 if (Context.getLangOpts().CUDA && hasAttr<CUDADeviceAttr>() && in getBuiltinID()
3292 !hasAttr<CUDAHostAttr>() && in getBuiltinID()
3367 !hasAttr<DLLExportAttr>()) in isMSExternInline()
3428 if (Context.getLangOpts().GNUInline || hasAttr<GNUInlineAttr>()) { in doesDeclarationForceExternallyVisibleDefinition()
3534 hasAttr<AliasAttr>()) && in isInlineDefinitionExternallyVisible()
3539 if (Context.getLangOpts().GNUInline || hasAttr<GNUInlineAttr>()) { in isInlineDefinitionExternallyVisible()
4146 if (!hasAttr<NoUniqueAddressAttr>()) in isZeroSize()
4396 return isClosed() && hasAttr<FlagEnumAttr>(); in isClosedFlag()
4400 return isClosed() && !hasAttr<FlagEnumAttr>(); in isClosedNonFlag()
4516 return hasAttr<CapturedRecordAttr>(); in isCapturedRecord()
4556 return hasAttr<MSStructAttr>() || C.getLangOpts().MSBitfields == 1; in isMsStruct()
4597 else if (CXXRD->hasAttr<PackedAttr>()) in mayInsertExtraPadding()
4790 return MostRecent->hasAttr<WeakAttr>() || in isWeak()
4791 MostRecent->hasAttr<WeakRefAttr>() || isWeakImported(); in isWeak()