Lines Matching refs:ScopeName
16 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local
17 if (ScopeName == "__gnu__") in hasAttribute()
18 ScopeName = "gnu"; in hasAttribute()
19 else if (ScopeName == "_Clang") in hasAttribute()
20 ScopeName = "clang"; in hasAttribute()
27 ScopeName == "omp") in hasAttribute()
53 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local
56 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
57 ScopeName = "gnu"; in normalizeAttrScopeName()
58 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
59 ScopeName = "clang"; in normalizeAttrScopeName()
61 return ScopeName; in normalizeAttrScopeName()
84 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope()
88 return ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang")); in isClangScope()
96 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() local
97 StringRef AttrName = normalizeAttrName(Name, ScopeName, SyntaxUsed); in normalizeName()
99 SmallString<64> FullName = ScopeName; in normalizeName()
100 if (!ScopeName.empty()) { in normalizeName()
112 const IdentifierInfo *ScopeName, in getParsedKind() argument
114 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()