Home
last modified time | relevance | path

Searched refs:DistroType (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DDistro.cpp23 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) { in DetectOsRelease()
33 Distro::DistroType Version = Distro::UnknownDistro; in DetectOsRelease()
38 Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(3)) in DetectOsRelease()
51 static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { in DetectLsbRelease()
59 Distro::DistroType Version = Distro::UnknownDistro; in DetectLsbRelease()
64 Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(17)) in DetectLsbRelease()
97 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro()
98 Distro::DistroType Version = Distro::UnknownDistro; in DetectDistro()
157 return llvm::StringSwitch<Distro::DistroType>(Data.split("\n").first) in DetectDistro()
199 static Distro::DistroType GetDistro(llvm::vfs::FileSystem &VFS, in GetDistro()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/
H A DDistro.h25 enum DistroType { enum
80 DistroType DistroVal;
90 Distro(DistroType D) : DistroVal(D) {} in Distro()