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()
50 if (LangOpts.OpenMP && ScopeName == "omp") in hasAttribute()
53 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts); in hasAttribute()
83 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() local
86 if (ScopeName == "__gnu__") in normalizeAttrScopeName()
87 ScopeName = "gnu"; in normalizeAttrScopeName()
88 else if (ScopeName == "_Clang") in normalizeAttrScopeName()
89 ScopeName = "clang"; in normalizeAttrScopeName()
91 return ScopeName; in normalizeAttrScopeName()
114 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope()
118 return ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang")); in isClangScope()
126 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() local
127 StringRef AttrName = normalizeAttrName(Name, ScopeName, SyntaxUsed); in normalizeName()
129 SmallString<64> FullName = ScopeName; in normalizeName()
130 if (!ScopeName.empty()) { in normalizeName()
142 const IdentifierInfo *ScopeName, in getParsedKind() argument
144 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()