LLVM  8.0.1
Public Member Functions | 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
 

Detailed Description

A format-neutral container for source line information.

Definition at line 31 of file DIContext.h.

Constructor & Destructor Documentation

◆ DILineInfo()

llvm::DILineInfo::DILineInfo ( )
inline

Definition at line 42 of file DIContext.h.

Referenced by operator bool().

Member Function Documentation

◆ dump()

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

Definition at line 63 of file DIContext.h.

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

◆ operator bool()

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

Definition at line 61 of file DIContext.h.

References DILineInfo().

◆ operator!=()

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

Definition at line 50 of file DIContext.h.

◆ operator<()

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

Definition at line 54 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 44 of file DIContext.h.

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

Member Data Documentation

◆ 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: