#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"
usingnamespaceclang::driver;
usingnamespaceclang;
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) { … }
Distro::Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost)
: … { … }