LLVM  10.0.0svn
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::DILineInfo Struct Reference

A format-neutral container for source line information. More...

#include "llvm/DebugInfo/DIContext.h"

Collaboration diagram for llvm::DILineInfo:
Collaboration graph
[legend]

Public Member Functions

 DILineInfo ()
 
bool operator== (const DILineInfo &RHS) const
 
bool operator!= (const DILineInfo &RHS) const
 
bool operator< (const DILineInfo &RHS) const
 
 operator bool () const
 
void dump (raw_ostream &OS)
 

Public Attributes

std::string FileName
 
std::string FunctionName
 
Optional< StringRefSource
 
uint32_t Line = 0
 
uint32_t Column = 0
 
uint32_t StartLine = 0
 
uint32_t Discriminator = 0
 

Static Public Attributes

static constexpr const char *const BadString = "<invalid>"
 
static constexpr const char *const Addr2LineBadString = "??"
 

Detailed Description

A format-neutral container for source line information.

Definition at line 30 of file DIContext.h.

Constructor & Destructor Documentation

◆ DILineInfo()

llvm::DILineInfo::DILineInfo ( )
inline

Definition at line 45 of file DIContext.h.

Referenced by operator bool().

Member Function Documentation

◆ dump()

void llvm::DILineInfo::dump ( raw_ostream OS)
inline

Definition at line 66 of file DIContext.h.

Referenced by llvm::DIContext::getKind().

◆ operator bool()

llvm::DILineInfo::operator bool ( ) const
inlineexplicit

Definition at line 64 of file DIContext.h.

References DILineInfo().

◆ operator!=()

bool llvm::DILineInfo::operator!= ( const DILineInfo RHS) const
inline

Definition at line 53 of file DIContext.h.

◆ operator<()

bool llvm::DILineInfo::operator< ( const DILineInfo RHS) const
inline

Definition at line 57 of file DIContext.h.

References Column, Discriminator, FileName, FunctionName, Line, and StartLine.

◆ operator==()

bool llvm::DILineInfo::operator== ( const DILineInfo RHS) const
inline

Definition at line 47 of file DIContext.h.

References Column, Discriminator, FileName, FunctionName, Line, and StartLine.

Member Data Documentation

◆ Addr2LineBadString

constexpr const char* const llvm::DILineInfo::Addr2LineBadString = "??"
static

Definition at line 34 of file DIContext.h.

Referenced by llvm::symbolize::DIPrinter::operator<<().

◆ BadString

constexpr const char* const llvm::DILineInfo::BadString = "<invalid>"
static

◆ Column

uint32_t llvm::DILineInfo::Column = 0

◆ Discriminator

uint32_t llvm::DILineInfo::Discriminator = 0

◆ FileName

std::string llvm::DILineInfo::FileName

◆ FunctionName

std::string llvm::DILineInfo::FunctionName

◆ Line

uint32_t llvm::DILineInfo::Line = 0

◆ Source

Optional<StringRef> llvm::DILineInfo::Source

◆ StartLine

uint32_t llvm::DILineInfo::StartLine = 0

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