Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
103 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro()
104 Distro::DistroType Version = Distro::UnknownDistro; in DetectDistro()
167 return llvm::StringSwitch<Distro::DistroType>(Data.split("\n").first) in DetectDistro()
211 static Distro::DistroType GetDistro(llvm::vfs::FileSystem &VFS, in GetDistro()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DDistro.h25 enum DistroType { enum
88 DistroType DistroVal;
98 Distro(DistroType D) : DistroVal(D) {} in Distro()