LLVM 22.0.0git
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

Referenced by operator==().

◆ UnsignedValue() [2/2]

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

Definition at line 105 of file MIRYamlMapping.h.

References Value.

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, UnsignedValue(), and Value.

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.

Referenced by operator==(), and UnsignedValue().


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