clang 20.0.0git
Functions
Distro.cpp File Reference
#include "clang/Driver/Distro.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallVector.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)
 

Function Documentation

◆ DetectDistro()

static Distro::DistroType DetectDistro ( llvm::vfs::FileSystem &  VFS)
static

◆ DetectLsbRelease()

static Distro::DistroType DetectLsbRelease ( llvm::vfs::FileSystem &  VFS)
static

◆ DetectOsRelease()

static Distro::DistroType DetectOsRelease ( llvm::vfs::FileSystem &  VFS)
static

◆ GetDistro()

static Distro::DistroType GetDistro ( llvm::vfs::FileSystem &  VFS,
const llvm::Triple &  TargetOrHost 
)
static

Definition at line 211 of file Distro.cpp.

References DetectDistro(), and clang::driver::Distro::UnknownDistro.