[PATCH] D53125: Detect Clear Linux and apply Clear's default linker options

Thiago Macieira via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 15 10:55:29 PDT 2018


thiagomacieira marked an inline comment as done.
thiagomacieira added inline comments.


================
Comment at: lib/Driver/Distro.cpp:148
+    for (StringRef Line : Lines)
+      if (Version == Distro::UnknownDistro && Line.startswith("ID="))
+        Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(3))
----------------
I'm changing this so we can detect Clear-derived distributions.


https://reviews.llvm.org/D53125





More information about the cfe-commits mailing list