diff options
Diffstat (limited to 'clang/lib/Driver/Distro.cpp')
-rw-r--r-- | clang/lib/Driver/Distro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp index 3fbf1637dd5..2c4d44faf8d 100644 --- a/clang/lib/Driver/Distro.cpp +++ b/clang/lib/Driver/Distro.cpp @@ -24,7 +24,7 @@ static Distro::DistroType DetectDistro(vfs::FileSystem &VFS) { StringRef Data = File.get()->getBuffer(); SmallVector<StringRef, 16> Lines; Data.split(Lines, "\n"); - Distro::DistroType Version = Distro::UnknownDistro; + Distro::DistroType Version = Distro::UnknownDistro; for (StringRef Line : Lines) if (Version == Distro::UnknownDistro && Line.startswith("DISTRIB_CODENAME=")) Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(17)) |