Lines Matching refs:Scope

83                         const IdentifierInfo *Scope, const IdentifierInfo *Attr,  in hasAttribute()  argument
86 return hasAttribute(Syntax, Scope ? Scope->getName() : "", Attr->getName(), in hasAttribute()
91 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute() argument
93 return hasAttribute(Syntax, Scope, Attr, Target, LangOpts, in hasAttribute()
180 const IdentifierInfo *Scope, in normalizeName() argument
182 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName()
223 static AttributeCommonInfo::Scope
225 return llvm::StringSwitch<AttributeCommonInfo::Scope>(ScopeName) in getScopeFromNormalizedScopeName()
226 .Case("", AttributeCommonInfo::Scope::NONE) in getScopeFromNormalizedScopeName()
227 .Case("clang", AttributeCommonInfo::Scope::CLANG) in getScopeFromNormalizedScopeName()
228 .Case("gnu", AttributeCommonInfo::Scope::GNU) in getScopeFromNormalizedScopeName()
229 .Case("gsl", AttributeCommonInfo::Scope::GSL) in getScopeFromNormalizedScopeName()
230 .Case("hlsl", AttributeCommonInfo::Scope::HLSL) in getScopeFromNormalizedScopeName()
231 .Case("vk", AttributeCommonInfo::Scope::VK) in getScopeFromNormalizedScopeName()
232 .Case("msvc", AttributeCommonInfo::Scope::MSVC) in getScopeFromNormalizedScopeName()
233 .Case("omp", AttributeCommonInfo::Scope::OMP) in getScopeFromNormalizedScopeName()
234 .Case("riscv", AttributeCommonInfo::Scope::RISCV); in getScopeFromNormalizedScopeName()
244 AttributeCommonInfo::Scope ComputedScope = in calculateAttributeSpellingListIndex()
265 for (const auto &Scope : AttrScopeSpellingList) in tryGetCorrectedScopeName() local
266 STC.add(Scope); in tryGetCorrectedScopeName()