summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Distro.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support of the next Ubuntu (Ubuntu 17.10 - Artful Aardvark)Sylvestre Ledru2017-05-041-0/+1
| | | | llvm-svn: 302143
* [Driver] Fix recognizing newer OpenSUSE versionsMichal Gorny2016-11-281-2/+5
| | | | | | | | | | Fix recognizing newer OpenSUSE versions that combine the two version components into 'VERSION = x.y'. The check was written against an older version that kept those two split as VERSION and PATCHLEVEL. Differential Revision: https://reviews.llvm.org/D26850 llvm-svn: 288061
* [Driver] Refactor distro detection & classification as a separate APIMichal Gorny2016-11-281-0/+131
Refactor the Distro enum along with helper functions into a full-fledged Distro class, inspired by llvm::Triple, and make it a public API. The new class wraps the enum with necessary comparison operators, adding the convenience Is*() methods and a constructor performing the detection. The public API is needed to run the unit tests (D25869). Differential Revision: https://reviews.llvm.org/D25949 llvm-svn: 288060
OpenPOWER on IntegriCloud