Searched refs:Distro (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Distro.cpp | 29 return Distro::UnknownDistro; in DetectOsRelease() 33 Distro::DistroType Version = Distro::UnknownDistro; in DetectOsRelease() 55 return Distro::UnknownDistro; in DetectLsbRelease() 59 Distro::DistroType Version = Distro::UnknownDistro; in DetectLsbRelease() 100 Distro::DistroType Version = Distro::UnknownDistro; in DetectDistro() 120 return Distro::Fedora; in DetectDistro() 124 return Distro::RHEL7; in DetectDistro() 126 return Distro::RHEL6; in DetectDistro() 128 return Distro::RHEL5; in DetectDistro() 201 return Distro::Gentoo; in DetectDistro() [all …]
|
| H A D | CMakeLists.txt | 18 Distro.cpp
|
| /llvm-project-15.0.7/clang/unittests/Driver/ |
| H A D | DistroTest.cpp | 50 ASSERT_EQ(Distro(Distro::UbuntuTrusty), UbuntuTrusty); in TEST() 58 ASSERT_EQ(Distro(Distro::UnknownDistro), UbuntuTrusty2); in TEST() 83 ASSERT_EQ(Distro(Distro::UbuntuYakkety), UbuntuYakkety); in TEST() 118 ASSERT_EQ(Distro(Distro::Fedora), Fedora25); in TEST() 155 ASSERT_EQ(Distro(Distro::RHEL7), CentOS7); in TEST() 183 ASSERT_EQ(Distro(Distro::OpenSUSE), OpenSUSELeap421); in TEST() 209 ASSERT_EQ(Distro(Distro::OpenSUSE), OpenSUSE132); in TEST() 226 ASSERT_EQ(Distro(Distro::UnknownDistro), SLES10); in TEST() 288 ASSERT_EQ(Distro(Distro::Exherbo), Exherbo); in TEST() 310 ASSERT_EQ(Distro(Distro::ArchLinux), ArchLinux); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Distro.h | 23 class Distro { 91 Distro() : DistroVal() {} in Distro() function 94 Distro(DistroType D) : DistroVal(D) {} in Distro() function 97 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost); 99 bool operator==(const Distro &Other) const { 103 bool operator!=(const Distro &Other) const { 107 bool operator>=(const Distro &Other) const { 111 bool operator<=(const Distro &Other) const {
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Linux.cpp | 191 Distro Distro(D.getVFS(), Triple); in Linux() local 193 if (Distro.IsAlpineLinux() || Triple.isAndroid()) { in Linux() 198 if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux() || in Linux() 241 if (Distro.IsRedhat() || Distro.IsOpenSUSE() || Distro.IsAlpineLinux() || in Linux() 242 (Distro.IsUbuntu() && Distro >= Distro::UbuntuMaverick) || in Linux() 246 if (Distro.IsDebian() || Distro.IsOpenSUSE() || in Linux() 247 Distro == Distro::UbuntuLucid || Distro == Distro::UbuntuJaunty || in Linux() 248 Distro == Distro::UbuntuKarmic || in Linux() 257 if (IsAndroid || Distro.IsOpenSUSE()) in Linux() 409 const Distro Distro(getDriver().getVFS(), Triple); in getDynamicLinker() local [all …]
|
| H A D | Cuda.cpp | 168 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple())); in CudaInstallationDetector()
|
| H A D | Clang.cpp | 7221 !Distro(D.getVFS(), TC.getTriple()).IsGentoo() && in ConstructJob()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Driver/ |
| H A D | BUILD.gn | 34 "Distro.cpp",
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 201 clang/include/clang/Driver/Distro.h 394 clang/lib/Driver/Distro.cpp
|