OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Distro
(Results
1 - 2
of
2
) 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
...]
Completed in 38 milliseconds
Indexes created Mon Mar 02 05:31:46 UTC 2026