class DiagnosticLocation

Declaration

class DiagnosticLocation { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:345

Method Overview

Methods

DiagnosticLocation()

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:351

DiagnosticLocation(const llvm::DebugLoc& DL)

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:352

Parameters

const llvm::DebugLoc& DL

DiagnosticLocation(const llvm::DISubprogram* SP)

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:353

Parameters

const llvm::DISubprogram* SP

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

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:361

unsigned int getLine() const

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:360

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

Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:355