Home
last modified time | relevance | path

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

/external/clang/lib/Driver/
DToolChains.cpp1286 GCCVersion GoodVersion = {VersionText.str(), -1, -1, -1, "", "", ""}; in Parse() local
1287 if (First.first.getAsInteger(10, GoodVersion.Major) || GoodVersion.Major < 0) in Parse()
1289 GoodVersion.MajorStr = First.first.str(); in Parse()
1291 return GoodVersion; in Parse()
1292 if (Second.first.getAsInteger(10, GoodVersion.Minor) || GoodVersion.Minor < 0) in Parse()
1294 GoodVersion.MinorStr = Second.first.str(); in Parse()
1306 StringRef PatchText = GoodVersion.PatchSuffix = Second.second.str(); in Parse()
1310 if (PatchText.slice(0, EndNumber).getAsInteger(10, GoodVersion.Patch) || in Parse()
1311 GoodVersion.Patch < 0) in Parse()
1313 GoodVersion.PatchSuffix = PatchText.substr(EndNumber); in Parse()
[all …]