clang  6.0.0svn
Public Member Functions | Static Public Attributes | List of all members
clang::cross_tu::IndexError Class Reference

#include "clang/CrossTU/CrossTranslationUnit.h"

Inheritance diagram for clang::cross_tu::IndexError:
Inheritance graph
[legend]
Collaboration diagram for clang::cross_tu::IndexError:
Collaboration graph
[legend]

Public Member Functions

 IndexError (index_error_code C)
 
 IndexError (index_error_code C, std::string FileName, int LineNo=0)
 
void log (raw_ostream &OS) const override
 
std::error_code convertToErrorCode () const override
 
index_error_code getCode () const
 
int getLineNum () const
 
std::string getFileName () const
 

Static Public Attributes

static char ID
 

Detailed Description

Definition at line 47 of file CrossTranslationUnit.h.

Constructor & Destructor Documentation

◆ IndexError() [1/2]

clang::cross_tu::IndexError::IndexError ( index_error_code  C)
inline

Definition at line 50 of file CrossTranslationUnit.h.

◆ IndexError() [2/2]

clang::cross_tu::IndexError::IndexError ( index_error_code  C,
std::string  FileName,
int  LineNo = 0 
)
inline

Definition at line 51 of file CrossTranslationUnit.h.

Member Function Documentation

◆ convertToErrorCode()

std::error_code clang::cross_tu::IndexError::convertToErrorCode ( ) const
override

Definition at line 72 of file CrossTranslationUnit.cpp.

References Category.

◆ getCode()

index_error_code clang::cross_tu::IndexError::getCode ( ) const
inline

◆ getFileName()

std::string clang::cross_tu::IndexError::getFileName ( ) const
inline

◆ getLineNum()

int clang::cross_tu::IndexError::getLineNum ( ) const
inline

◆ log()

void clang::cross_tu::IndexError::log ( raw_ostream &  OS) const
override

Definition at line 68 of file CrossTranslationUnit.cpp.

References Category.

Member Data Documentation

◆ ID

char clang::cross_tu::IndexError::ID
static

Definition at line 49 of file CrossTranslationUnit.h.


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