Lines Matching refs:ScopeName
23 StringRef ScopeName, const TargetInfo &Target, in hasAttributeImpl() argument
40 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local
41 if (ScopeName == "__gnu__") in hasAttribute()
42 ScopeName = "gnu"; in hasAttribute()
43 else if (ScopeName == "_Clang") in hasAttribute()
44 ScopeName = "clang"; in hasAttribute()
53 if (LangOpts.OpenMP && ScopeName == "omp" && in hasAttribute()
57 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts); in hasAttribute()
87 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local
90 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
91 ScopeName = "gnu"; in normalizeAttrScopeName()
92 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
93 ScopeName = "clang"; in normalizeAttrScopeName()
95 return ScopeName; in normalizeAttrScopeName()
118 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope()
122 return ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang")); in isClangScope()
130 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() local
131 StringRef AttrName = normalizeAttrName(Name, ScopeName, SyntaxUsed); in normalizeName()
133 SmallString<64> FullName = ScopeName; in normalizeName()
134 if (!ScopeName.empty()) { in normalizeName()
146 const IdentifierInfo *ScopeName, in getParsedKind() argument
148 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()