LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::yaml::UnsignedValue Struct Reference

A wrapper around unsigned which contains a source range that's being set during parsing. More...

#include "llvm/CodeGen/MIRYamlMapping.h"

Public Member Functions

 UnsignedValue ()=default
 
 UnsignedValue (unsigned Value)
 
bool operator== (const UnsignedValue &Other) const
 

Public Attributes

unsigned Value = 0
 
SMRange SourceRange
 

Detailed Description

A wrapper around unsigned which contains a source range that's being set during parsing.

Definition at line 100 of file MIRYamlMapping.h.

Constructor & Destructor Documentation

◆ UnsignedValue() [1/2]

llvm::yaml::UnsignedValue::UnsignedValue ( )
default

◆ UnsignedValue() [2/2]

llvm::yaml::UnsignedValue::UnsignedValue ( unsigned  Value)
inline

Definition at line 105 of file MIRYamlMapping.h.

Member Function Documentation

◆ operator==()

bool llvm::yaml::UnsignedValue::operator== ( const UnsignedValue Other) const
inline

Definition at line 107 of file MIRYamlMapping.h.

References llvm::Other.

Member Data Documentation

◆ SourceRange

SMRange llvm::yaml::UnsignedValue::SourceRange

Definition at line 102 of file MIRYamlMapping.h.

◆ Value

unsigned llvm::yaml::UnsignedValue::Value = 0

Definition at line 101 of file MIRYamlMapping.h.


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