HomeSort by: relevance | last modified time | path
    Searched refs:Distro (Results 1 - 6 of 6) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Driver/
Distro.cpp 1 //===--- Distro.cpp - Linux distribution detection support ------*- C++ -*-===//
9 #include "clang/Driver/Distro.h"
23 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) {
29 return Distro::UnknownDistro;
33 Distro::DistroType Version = Distro::UnknownDistro;
37 if (Version == Distro::UnknownDistro && Line.startswith("ID="))
38 Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(3))
39 .Case("alpine", Distro::AlpineLinux)
40 .Case("fedora", Distro::Fedora
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Driver/
Distro.h 1 //===--- Distro.h - Linux distribution detection support --------*- C++ -*-===//
18 /// Distro - Helper class for detecting and classifying Linux distributions.
23 class Distro {
28 // NB: Releases of a particular Linux distro should be kept together
87 Distro() : DistroVal() {}
89 /// Constructs a Distro type for specific distribution.
90 Distro(DistroType D) : DistroVal(D) {}
93 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost);
95 bool operator==(const Distro &Other) const {
99 bool operator!=(const Distro &Other) const
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
Linux.cpp 16 #include "clang/Driver/Distro.h"
190 Distro Distro(D.getVFS(), Triple);
192 if (Distro.IsAlpineLinux() || Triple.isAndroid()) {
197 if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux() ||
237 if (Distro.IsRedhat() || Distro.IsOpenSUSE() || Distro.IsAlpineLinux() |
    [all...]
Cuda.cpp 15 #include "clang/Driver/Distro.h"
172 Distro Dist(FS, llvm::Triple(llvm::sys::getProcessTriple()));
Clang.cpp 31 #include "clang/Driver/Distro.h"
6751 !Distro(D.getVFS(), TC.getTriple()).IsGentoo() &&
  /src/external/apache2/llvm/lib/libclangDriver/
Makefile 14 Distro.cpp \

Completed in 40 milliseconds