LLVM  8.0.1
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"

Collaboration diagram for llvm::yaml::UnsignedValue:
Collaboration graph
[legend]

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 99 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 104 of file MIRYamlMapping.h.

Member Function Documentation

◆ operator==()

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

Definition at line 106 of file MIRYamlMapping.h.

References Value.

Member Data Documentation

◆ SourceRange

SMRange llvm::yaml::UnsignedValue::SourceRange

Definition at line 101 of file MIRYamlMapping.h.

Referenced by llvm::yaml::ScalarTraits< UnsignedValue >::input().

◆ Value

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

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