Lines Matching refs:StringRef
57 StringRef getDescription() const {
58 return StringRef(DescriptionStr, DescriptionLen);
187 StringRef getName() const {
188 return StringRef(NameStr, NameLen);
224 StringRef DiagnosticIDs::getCategoryNameFromID(unsigned CategoryID) {
226 return StringRef();
261 StringRef getDescription(unsigned DiagID) const {
274 unsigned getOrCreateDiagID(DiagnosticIDs::Level L, StringRef Message,
310 unsigned DiagnosticIDs::getCustomDiagID(Level L, StringRef FormatString) {
358 StringRef DiagnosticIDs::getDescription(unsigned DiagID) const {
494 StringRef getName() const {
495 return StringRef(DiagGroupNames + NameOffset + 1,
509 static bool WarningOptionCompare(const WarningOption &LHS, StringRef RHS) {
516 StringRef DiagnosticIDs::getWarningOptionForDiag(unsigned DiagID) {
519 return StringRef();
536 StringRef Group,
555 StringRef DiagnosticIDs::getNearestWarningOption(StringRef Group) {
556 StringRef Best;