Lines Matching refs:AttrName
104 static StringRef NormalizeAttrName(StringRef AttrName) { in NormalizeAttrName() argument
105 if (AttrName.startswith("__")) in NormalizeAttrName()
106 AttrName = AttrName.substr(2, AttrName.size()); in NormalizeAttrName()
108 if (AttrName.endswith("__")) in NormalizeAttrName()
109 AttrName = AttrName.substr(0, AttrName.size() - 2); in NormalizeAttrName()
111 return AttrName; in NormalizeAttrName()
2166 static bool isArgVariadic(const Record &R, StringRef AttrName) { in isArgVariadic() argument
2167 return createArgument(R, AttrName)->isVariadic(); in isArgVariadic()
2663 std::string AttrName; in EmitClangAttrParsedAttrKinds() local
2666 AttrName = Attr.getValueAsString("ParseKind"); in EmitClangAttrParsedAttrKinds()
2667 if (Seen.find(AttrName) != Seen.end()) in EmitClangAttrParsedAttrKinds()
2669 Seen.insert(AttrName); in EmitClangAttrParsedAttrKinds()
2671 AttrName = NormalizeAttrName(StringRef(Attr.getName())).str(); in EmitClangAttrParsedAttrKinds()
2696 "return AttributeList::AT_" + AttrName + ";")); in EmitClangAttrParsedAttrKinds()