clang  14.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/ADT/Triple.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Threading.h"
Include dependency graph for Distro.cpp:

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 203 of file Distro.cpp.

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