Home
last modified time | relevance | path

Searched refs:Distro (Results 1 – 8 of 8) 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()
29 return Distro::UnknownDistro; in DetectOsRelease()
33 Distro::DistroType Version = Distro::UnknownDistro; in DetectOsRelease()
37 if (Version == Distro::UnknownDistro && Line.startswith("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 …]
H A DCMakeLists.txt17 Distro.cpp
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/
H A DDistro.h23 class Distro {
87 Distro() : DistroVal() {} in Distro() function
90 Distro(DistroType D) : DistroVal(D) {} in Distro() function
93 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost);
95 bool operator==(const Distro &Other) const {
99 bool operator!=(const Distro &Other) const {
103 bool operator>=(const Distro &Other) const {
107 bool operator<=(const Distro &Other) const {
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DLinux.cpp190 Distro Distro(D.getVFS(), Triple); in Linux() local
192 if (Distro.IsAlpineLinux() || Triple.isAndroid()) { in Linux()
197 if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux() || in Linux()
237 if (Distro.IsRedhat() || Distro.IsOpenSUSE() || Distro.IsAlpineLinux() || in Linux()
238 (Distro.IsUbuntu() && Distro >= Distro::UbuntuMaverick) || in Linux()
242 if (Distro.IsDebian() || Distro.IsOpenSUSE() || in Linux()
243 Distro == Distro::UbuntuLucid || Distro == Distro::UbuntuJaunty || in Linux()
244 Distro == Distro::UbuntuKarmic || in Linux()
253 if (IsAndroid || Distro.IsOpenSUSE()) in Linux()
381 const Distro Distro(getDriver().getVFS(), Triple); in getDynamicLinker() local
[all …]
H A DCuda.cpp172 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple())); in CudaInstallationDetector()
H A DClang.cpp6751 !Distro(D.getVFS(), TC.getTriple()).IsGentoo() && in ConstructJob()
/netbsd-src/external/apache2/llvm/lib/libclangDriver/
H A DMakefile14 Distro.cpp \
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/lib/Driver/
H A DBUILD.gn34 "Distro.cpp",