LLVM  5.0.0
Public Member Functions | List of all members
llvm::DiagnosticLocation Class Reference

#include "llvm/IR/DiagnosticInfo.h"

Public Member Functions

 DiagnosticLocation ()=default
 
 DiagnosticLocation (const DebugLoc &DL)
 
 DiagnosticLocation (const DISubprogram *SP)
 
bool isValid () const
 
StringRef getFilename () const
 
unsigned getLine () const
 
unsigned getColumn () const
 

Detailed Description

Definition at line 348 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

llvm::DiagnosticLocation::DiagnosticLocation ( )
default
DiagnosticLocation::DiagnosticLocation ( const DebugLoc &  DL)

Definition at line 162 of file DiagnosticInfo.cpp.

DiagnosticLocation::DiagnosticLocation ( const DISubprogram *  SP)

Definition at line 170 of file DiagnosticInfo.cpp.

References llvm::DIScope::getFilename().

Member Function Documentation

unsigned llvm::DiagnosticLocation::getColumn ( ) const
inline
StringRef llvm::DiagnosticLocation::getFilename ( ) const
inline
unsigned llvm::DiagnosticLocation::getLine ( ) const
inline
bool llvm::DiagnosticLocation::isValid ( ) const
inline

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