summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2017-10-25 14:25:28 +0000
committerSylvestre Ledru <sylvestre@debian.org>2017-10-25 14:25:28 +0000
commitb3749a3005224bbd2941a3517088a19002d81134 (patch)
tree2db9aa5e01ef5668dee961b9d8976dc9ebc69573 /include
parentd26e800a52facae18ce2324dcd328ba575995c82 (diff)
downloadclang-b3749a3005224bbd2941a3517088a19002d81134.tar.gz
Add support of the next Debian (Debian buster - version 10)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Driver/Distro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Driver/Distro.h b/include/clang/Driver/Distro.h
index f079ceb73e..eeb4f25f34 100644
--- a/include/clang/Driver/Distro.h
+++ b/include/clang/Driver/Distro.h
@@ -32,6 +32,7 @@ public:
DebianWheezy,
DebianJessie,
DebianStretch,
+ DebianBuster,
Exherbo,
RHEL5,
RHEL6,
@@ -108,7 +109,7 @@ public:
}
bool IsDebian() const {
- return DistroVal >= DebianLenny && DistroVal <= DebianStretch;
+ return DistroVal >= DebianLenny && DistroVal <= DebianBuster;
}
bool IsUbuntu() const {