From: Douglas Katzman Date: Mon, 22 Jun 2015 20:55:31 +0000 (+0000) Subject: Add comment about the importance of being adjacent. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3872f184a8b90faa9e183e2a87ecf741e1411c8c;p=clang Add comment about the importance of being adjacent. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240328 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 987e063039..e157193748 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2896,6 +2896,9 @@ Tool *Solaris::buildLinker() const { /// Distribution (very bare-bones at the moment). enum Distro { + // NB: Releases of a particular Linux distro should be kept together + // in this enum, because some tests are done by integer comparison against + // the first and last known member in the family, e.g. IsRedHat(). ArchLinux, DebianLenny, DebianSqueeze,