Home
last modified time | relevance | path

Searched refs:GoodVersion (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Driver/
DToolChains.cpp1240 GCCVersion GoodVersion = {VersionText.str(), -1, -1, -1, "", "", ""}; in Parse() local
1241 if (First.first.getAsInteger(10, GoodVersion.Major) || GoodVersion.Major < 0) in Parse()
1243 GoodVersion.MajorStr = First.first.str(); in Parse()
1244 if (Second.first.getAsInteger(10, GoodVersion.Minor) || GoodVersion.Minor < 0) in Parse()
1246 GoodVersion.MinorStr = Second.first.str(); in Parse()
1257 StringRef PatchText = GoodVersion.PatchSuffix = Second.second.str(); in Parse()
1261 if (PatchText.slice(0, EndNumber).getAsInteger(10, GoodVersion.Patch) || in Parse()
1262 GoodVersion.Patch < 0) in Parse()
1264 GoodVersion.PatchSuffix = PatchText.substr(EndNumber); in Parse()
1268 return GoodVersion; in Parse()