Lines Matching refs:ScopeName
17 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() local
18 if (ScopeName == "__gnu__") in hasAttribute()
19 ScopeName = "gnu"; in hasAttribute()
20 else if (ScopeName == "_Clang") in hasAttribute()
21 ScopeName = "clang"; in hasAttribute()
28 ScopeName == "omp") in hasAttribute()
54 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local
57 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
58 ScopeName = "gnu"; in normalizeAttrScopeName()
59 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
60 ScopeName = "clang"; in normalizeAttrScopeName()
62 return ScopeName; in normalizeAttrScopeName()
85 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope()
89 return ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang")); in isClangScope()
97 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() local
98 StringRef AttrName = normalizeAttrName(Name, ScopeName, SyntaxUsed); in normalizeName()
100 SmallString<64> FullName = ScopeName; in normalizeName()
101 if (!ScopeName.empty()) { in normalizeName()
113 const IdentifierInfo *ScopeName, in getParsedKind() argument
115 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()