Lines Matching refs:Name
22 static int hasAttributeImpl(AttributeCommonInfo::Syntax Syntax, StringRef Name, in hasAttributeImpl() argument
34 StringRef Name = Attr->getName(); in hasAttribute() local
36 if (Name.size() >= 4 && Name.starts_with("__") && Name.ends_with("__")) in hasAttribute()
37 Name = Name.substr(2, Name.size() - 4); in hasAttribute()
54 (Name == "directive" || Name == "sequence")) in hasAttribute()
57 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts); in hasAttribute()
63 if (Ptr->hasSpelling(Syntax, Name)) in hasAttribute()
98 static StringRef normalizeAttrName(const IdentifierInfo *Name, in normalizeAttrName() argument
109 StringRef AttrName = Name->getName(); in normalizeAttrName()
127 static SmallString<64> normalizeName(const IdentifierInfo *Name, in normalizeName() argument
131 StringRef AttrName = normalizeAttrName(Name, ScopeName, SyntaxUsed); in normalizeName()
145 AttributeCommonInfo::getParsedKind(const IdentifierInfo *Name, in getParsedKind() argument
148 return ::getAttrKind(normalizeName(Name, ScopeName, SyntaxUsed), SyntaxUsed); in getParsedKind()
161 StringRef Name = normalizeAttrName(getAttrName(), Scope, Syntax); in calculateAttributeSpellingListIndex() local