Lines Matching refs:Scope
8 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
16 // Normalize the scope name, but only for gnu and clang attributes.
17 StringRef ScopeName = Scope ? Scope->getName() : "";
39 normalizeAttrScopeName(const IdentifierInfo *Scope,
41 if (!Scope)
44 // Normalize the "__gnu__" scope name to be "gnu" and the "_Clang" scope name
46 StringRef ScopeName = Scope->getName();
83 const IdentifierInfo *Scope,
85 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed);
115 StringRef Scope = normalizeAttrScopeName(getScopeName(), Syntax);
116 StringRef Name = normalizeAttrName(getAttrName(), Scope, Syntax);