|
clang 22.0.0git
|
#include "clang/Driver/Distro.h"#include "clang/Basic/LLVM.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/Support/ErrorOr.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Threading.h"#include "llvm/TargetParser/Host.h"#include "llvm/TargetParser/Triple.h"Go to the source code of this file.
Functions | |
| static Distro::DistroType | DetectOsRelease (llvm::vfs::FileSystem &VFS) |
| static Distro::DistroType | DetectLsbRelease (llvm::vfs::FileSystem &VFS) |
| static Distro::DistroType | DetectDistro (llvm::vfs::FileSystem &VFS) |
| static Distro::DistroType | GetDistro (llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost) |
|
static |
Definition at line 96 of file Distro.cpp.
References clang::Data, clang::driver::Distro::DebianBookworm, clang::driver::Distro::DebianBullseye, clang::driver::Distro::DebianBuster, clang::driver::Distro::DebianDuke, clang::driver::Distro::DebianForky, clang::driver::Distro::DebianJessie, clang::driver::Distro::DebianStretch, clang::driver::Distro::DebianTrixie, DetectLsbRelease(), DetectOsRelease(), clang::driver::Distro::Fedora, clang::File, clang::driver::Distro::Gentoo, clang::Line, clang::driver::Distro::OpenSUSE, clang::driver::Distro::RHEL10, clang::driver::Distro::RHEL7, clang::driver::Distro::RHEL8, clang::driver::Distro::RHEL9, and clang::driver::Distro::UnknownDistro.
Referenced by GetDistro().
|
static |
Definition at line 50 of file Distro.cpp.
References clang::File, clang::Line, clang::driver::Distro::UbuntuArtful, clang::driver::Distro::UbuntuBionic, clang::driver::Distro::UbuntuCosmic, clang::driver::Distro::UbuntuDisco, clang::driver::Distro::UbuntuEoan, clang::driver::Distro::UbuntuFocal, clang::driver::Distro::UbuntuGroovy, clang::driver::Distro::UbuntuHirsute, clang::driver::Distro::UbuntuImpish, clang::driver::Distro::UbuntuJammy, clang::driver::Distro::UbuntuKinetic, clang::driver::Distro::UbuntuLunar, clang::driver::Distro::UbuntuMantic, clang::driver::Distro::UbuntuNoble, clang::driver::Distro::UbuntuOracular, clang::driver::Distro::UbuntuPlucky, clang::driver::Distro::UbuntuQuantal, clang::driver::Distro::UbuntuQuesting, clang::driver::Distro::UbuntuRaring, clang::driver::Distro::UbuntuResolute, clang::driver::Distro::UbuntuSaucy, clang::driver::Distro::UbuntuTrusty, clang::driver::Distro::UbuntuUtopic, clang::driver::Distro::UbuntuVivid, clang::driver::Distro::UbuntuWily, clang::driver::Distro::UbuntuXenial, clang::driver::Distro::UbuntuYakkety, clang::driver::Distro::UbuntuZesty, and clang::driver::Distro::UnknownDistro.
Referenced by DetectDistro().
|
static |
Definition at line 22 of file Distro.cpp.
References clang::driver::Distro::AlpineLinux, clang::driver::Distro::ArchLinux, clang::driver::Distro::Exherbo, clang::driver::Distro::Fedora, clang::File, clang::driver::Distro::Gentoo, clang::Line, clang::driver::Distro::OpenSUSE, and clang::driver::Distro::UnknownDistro.
Referenced by DetectDistro().
|
static |
Definition at line 206 of file Distro.cpp.
References DetectDistro(), and clang::driver::Distro::UnknownDistro.
Referenced by clang::driver::Distro::Distro().