LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::yaml::StringValue Struct Reference

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

#include "llvm/CodeGen/MIRYamlMapping.h"

Inheritance diagram for llvm::yaml::StringValue:
Inheritance graph
[legend]
Collaboration diagram for llvm::yaml::StringValue:
Collaboration graph
[legend]

Public Member Functions

 StringValue ()=default
 
 StringValue (std::string Value)
 
bool operator== (const StringValue &Other) const
 

Public Attributes

std::string Value
 
SMRange SourceRange
 

Detailed Description

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

Definition at line 34 of file MIRYamlMapping.h.

Constructor & Destructor Documentation

◆ StringValue() [1/2]

llvm::yaml::StringValue::StringValue ( )
default

◆ StringValue() [2/2]

llvm::yaml::StringValue::StringValue ( std::string  Value)
inline

Definition at line 39 of file MIRYamlMapping.h.

Member Function Documentation

◆ operator==()

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

Definition at line 41 of file MIRYamlMapping.h.

References Value.

Member Data Documentation

◆ SourceRange

SMRange llvm::yaml::StringValue::SourceRange

◆ Value

std::string llvm::yaml::StringValue::Value

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