Home
last modified time | relevance | path

Searched refs:Distro (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDistro.cpp23 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) { in DetectOsRelease()
29 return Distro::UnknownDistro; in DetectOsRelease()
33 Distro::DistroType Version = Distro::UnknownDistro; in DetectOsRelease()
37 if (Version == Distro::UnknownDistro && Line.starts_with("ID=")) in DetectOsRelease()
38 Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(3)) in DetectOsRelease()
39 .Case("alpine", Distro::AlpineLinux) in DetectOsRelease()
40 .Case("fedora", Distro::Fedora) in DetectOsRelease()
41 .Case("gentoo", Distro::Gentoo) in DetectOsRelease()
42 .Case("arch", Distro::ArchLinux) in DetectOsRelease()
44 .Case("sles", Distro::OpenSUSE) in DetectOsRelease()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DDistro.h23 class Distro {
95 Distro() : DistroVal() {} in Distro() function
98 Distro(DistroType D) : DistroVal(D) {} in Distro() function
101 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost);
103 bool operator==(const Distro &Other) const {
107 bool operator!=(const Distro &Other) const {
111 bool operator>=(const Distro &Other) const {
115 bool operator<=(const Distro &Other) const {
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DLinux.cpp230 Distro Distro(D.getVFS(), Triple); in Linux() local
232 if (Distro.IsAlpineLinux() || Triple.isAndroid()) { in Linux()
237 if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux() || in Linux()
288 if (Distro.IsOpenSUSE() || Distro == Distro::UbuntuLucid || in Linux()
289 Distro == Distro::UbuntuJaunty || Distro == Distro::UbuntuKarmic || in Linux()
442 const Distro Distro(getDriver().getVFS(), Triple); in getDynamicLinker() local
616 if (Distro == Distro::Exherbo && in getDynamicLinker()
H A DCuda.cpp187 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple())); in CudaInstallationDetector()
H A DClang.cpp7916 !Distro(D.getVFS(), TC.getTriple()).IsGentoo() && in ConstructJob()
/freebsd/contrib/bc/
H A DREADME.md187 #### Package and Distro Maintainers
/freebsd/lib/clang/libclang/
H A DMakefile349 SRCS_MIN+= Driver/Distro.cpp