Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.txt20 Distro.cpp
/openbsd-src/gnu/llvm/clang/include/clang/Driver/
H A DDistro.h23 class Distro {
92 Distro() : DistroVal() {} in Distro() function
95 Distro(DistroType D) : DistroVal(D) {} in Distro() function
98 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost);
100 bool operator==(const Distro &Other) const {
104 bool operator!=(const Distro &Other) const {
108 bool operator>=(const Distro &Other) const {
112 bool operator<=(const Distro &Other) const {
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DLinux.cpp192 Distro Distro(D.getVFS(), Triple); in Linux() local
194 if (Distro.IsAlpineLinux() || Triple.isAndroid()) { in Linux()
199 if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux() || in Linux()
242 if (Distro.IsOpenSUSE() || Distro == Distro::UbuntuLucid || in Linux()
243 Distro == Distro::UbuntuJaunty || Distro == Distro::UbuntuKarmic || in Linux()
403 const Distro Distro(getDriver().getVFS(), Triple); in getDynamicLinker() local
572 if (Distro == Distro::Exherbo && in getDynamicLinker()
H A DAMDGPU.cpp312 Distro Dist(D.getVFS(), llvm::Triple(llvm::sys::getProcessTriple())); in getInstallationPathCandidates()
H A DCuda.cpp175 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple())); in CudaInstallationDetector()
H A DClang.cpp7381 !Distro(D.getVFS(), TC.getTriple()).IsGentoo() && in ConstructJob()
/openbsd-src/gnu/usr.bin/clang/libclangDriver/
H A DMakefile15 Distro.cpp \
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/Driver/
H A DBUILD.gn35 "Distro.cpp",
/openbsd-src/gnu/llvm/clang/docs/tools/
H A Dclang-formatted-files.txt200 clang/include/clang/Driver/Distro.h
392 clang/lib/Driver/Distro.cpp