class DiagnosticLocation
Declaration
class DiagnosticLocation { /* full declaration omitted */ };
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:354
Member Variables
- private llvm::DIFile* File = nullptr
- private unsigned int Line = 0
- private unsigned int Column = 0
Method Overview
- public DiagnosticLocation()
- public DiagnosticLocation(const llvm::DebugLoc & DL)
- public DiagnosticLocation(const llvm::DISubprogram * SP)
- public std::string getAbsolutePath() const
- public unsigned int getColumn() const
- public unsigned int getLine() const
- public llvm::StringRef getRelativePath() const
- public bool isValid() const
Methods
¶DiagnosticLocation()
DiagnosticLocation()
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:360
¶DiagnosticLocation(const llvm::DebugLoc& DL)
DiagnosticLocation(const llvm::DebugLoc& DL)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:361
Parameters
- const llvm::DebugLoc& DL
¶DiagnosticLocation(const llvm::DISubprogram* SP)
DiagnosticLocation(const llvm::DISubprogram* SP)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:362
Parameters
- const llvm::DISubprogram* SP
¶std::string getAbsolutePath() const
std::string getAbsolutePath() const
Description
Return the full path to the file.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:366
¶unsigned int getColumn() const
unsigned int getColumn() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:370
¶unsigned int getLine() const
unsigned int getLine() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:369
¶llvm::StringRef getRelativePath() const
llvm::StringRef getRelativePath() const
Description
Return the file name relative to the compilation directory.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:368
¶bool isValid() const
bool isValid() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:364