LLVM: llvm::DiagnosticLocation Class Reference (original) (raw)

#include "[llvm/IR/DiagnosticInfo.h](DiagnosticInfo%5F8h%5Fsource.html)"

Public Member Functions
DiagnosticLocation ()=default
LLVM_ABI DiagnosticLocation (const DebugLoc &DL)
LLVM_ABI DiagnosticLocation (const DISubprogram *SP)
bool isValid () const
LLVM_ABI std::string getAbsolutePath () const
Return the full path to the file.
LLVM_ABI StringRef getRelativePath () const
Return the file name relative to the compilation directory.
unsigned getLine () const
unsigned getColumn () const

Definition at line 328 of file DiagnosticInfo.h.

llvm::DiagnosticLocation::DiagnosticLocation ( ) default

DiagnosticLocation() [2/3]

DiagnosticLocation() [3/3]

getAbsolutePath()

std::string DiagnosticLocation::getAbsolutePath ( ) const

getColumn()

unsigned llvm::DiagnosticLocation::getColumn ( ) const inline

getLine()

unsigned llvm::DiagnosticLocation::getLine ( ) const inline

getRelativePath()

StringRef DiagnosticLocation::getRelativePath ( ) const

Return the file name relative to the compilation directory.

Definition at line 167 of file DiagnosticInfo.cpp.

isValid()

bool llvm::DiagnosticLocation::isValid ( ) const inline

The documentation for this class was generated from the following files: