diff options
| author | Douglas Katzman <dougk@google.com> | 2015-06-22 20:55:31 +0000 |
|---|---|---|
| committer | Douglas Katzman <dougk@google.com> | 2015-06-22 20:55:31 +0000 |
| commit | a5df0c8d544cbf2ffe5e4314235cfdcfbfeefffd (patch) | |
| tree | dff4c52f661feb883f6f1f03a0f763fefff7407b /clang/lib/Driver | |
| parent | e884389ce83ea0179102be932c0a2c6fbefd95f7 (diff) | |
| download | bcm5719-llvm-a5df0c8d544cbf2ffe5e4314235cfdcfbfeefffd.tar.gz bcm5719-llvm-a5df0c8d544cbf2ffe5e4314235cfdcfbfeefffd.zip | |
Add comment about the importance of being adjacent. NFC
llvm-svn: 240328
Diffstat (limited to 'clang/lib/Driver')
| -rw-r--r-- | clang/lib/Driver/ToolChains.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 987e063039c..e1571937482 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/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, |

