LLVM 22.0.0git
llvm::directive::VersionRange Struct Reference

#include "llvm/Frontend/Directive/Spelling.h"

Public Member Functions

bool operator< (const VersionRange &R) const

Public Attributes

int Min = 0
int Max = MaxValue

Static Public Attributes

static constexpr int MaxValue = std::numeric_limits<int>::max()

Detailed Description

Definition at line 20 of file Spelling.h.

Member Function Documentation

◆ operator<()

bool llvm::directive::VersionRange::operator< ( const VersionRange & R) const
inline

Definition at line 27 of file Spelling.h.

References Max, and Min.

Member Data Documentation

◆ Max

int llvm::directive::VersionRange::Max = MaxValue

Definition at line 25 of file Spelling.h.

Referenced by operator<().

◆ MaxValue

int llvm::directive::VersionRange::MaxValue = std::numeric_limits<int>::max()
staticconstexpr

Definition at line 21 of file Spelling.h.

◆ Min

int llvm::directive::VersionRange::Min = 0

Definition at line 24 of file Spelling.h.

Referenced by llvm::BaseRecord::getSpellingForIdentifier(), and operator<().


The documentation for this struct was generated from the following file: