class DiagnosticLocation
Declaration
class DiagnosticLocation { /* full declaration omitted */ };
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:345
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:351
¶DiagnosticLocation(const llvm::DebugLoc& DL)
DiagnosticLocation(const llvm::DebugLoc& DL)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:352
Parameters
- const llvm::DebugLoc& DL
¶DiagnosticLocation(const llvm::DISubprogram* SP)
DiagnosticLocation(const llvm::DISubprogram* SP)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:353
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:357
¶unsigned int getColumn() const
unsigned int getColumn() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:361
¶unsigned int getLine() const
unsigned int getLine() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:360
¶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:359
¶bool isValid() const
bool isValid() const
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:355