projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e884389
)
Add comment about the importance of being adjacent. NFC
author
Douglas Katzman
<dougk@google.com>
Mon, 22 Jun 2015 20:55:31 +0000
(20:55 +0000)
committer
Douglas Katzman
<dougk@google.com>
Mon, 22 Jun 2015 20:55:31 +0000
(20:55 +0000)
llvm-svn: 240328
clang/lib/Driver/ToolChains.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains.cpp
b/clang/lib/Driver/ToolChains.cpp
index
987e063
..
e157193
100644
(file)
--- 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,