9 #ifndef LLVM_CLANG_DRIVER_DISTRO_H 10 #define LLVM_CLANG_DRIVER_DISTRO_H 12 #include "llvm/ADT/Triple.h" 13 #include "llvm/Support/VirtualFileSystem.h" 88 explicit Distro(llvm::vfs::FileSystem &VFS,
const llvm::Triple &TargetOrHost);
91 return DistroVal == Other.DistroVal;
95 return DistroVal != Other.DistroVal;
99 return DistroVal >= Other.DistroVal;
103 return DistroVal <= Other.DistroVal;
131 return DistroVal ==
Gentoo;
bool operator==(const Distro &Other) const
Distro - Helper class for detecting and classifying Linux distributions.
bool operator!=(const Distro &Other) const
Distro()
Default constructor leaves the distribution unknown.
Distro(DistroType D)
Constructs a Distro type for specific distribution.
bool IsAlpineLinux() const
Dataflow Directional Tag Classes.
bool operator<=(const Distro &Other) const
bool operator>=(const Distro &Other) const