LLVM 19.0.0git
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]

Public Member Functions

 StringValue ()=default
 
 StringValue (std::string Value)
 
 StringValue (const char Val[])
 
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/3]

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

◆ StringValue() [2/3]

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

Definition at line 39 of file MIRYamlMapping.h.

◆ StringValue() [3/3]

llvm::yaml::StringValue::StringValue ( const char  Val[])
inline

Definition at line 40 of file MIRYamlMapping.h.

Member Function Documentation

◆ operator==()

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

Definition at line 42 of file MIRYamlMapping.h.

References llvm::Other.

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: