Lines Matching refs:StringRef
12 #include "llvm/ADT/StringRef.h"
42 StringRef Data = File.get()->getBuffer();
43 SmallVector<StringRef, 16> Lines;
46 for (StringRef Line : Lines)
82 StringRef Data = File.get()->getBuffer();
88 if (Data.find("release 7") != StringRef::npos)
90 else if (Data.find("release 6") != StringRef::npos)
92 else if (Data.find("release 5") != StringRef::npos)
100 StringRef Data = File.get()->getBuffer();
135 StringRef Data = File.get()->getBuffer();
136 SmallVector<StringRef, 8> Lines;
138 for (const StringRef& Line : Lines) {
141 std::pair<StringRef, StringRef> SplitLine = Line.split('=');
144 std::pair<StringRef, StringRef> SplitVer = SplitLine.second.trim().split('.');