clang  8.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
Collaboration diagram for clang::cross_tu::IndexError:
Collaboration graph

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)

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 

Definition at line 51 of file CrossTranslationUnit.h.

References log.

Member Function Documentation

◆ convertToErrorCode()

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

Definition at line 72 of file CrossTranslationUnit.cpp.

References Category.

◆ getCode()

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

◆ getFileName()

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

◆ getLineNum()

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

◆ log()

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

Definition at line 68 of file CrossTranslationUnit.cpp.

References Category.

Member Data Documentation

◆ ID

char clang::cross_tu::IndexError::ID

Definition at line 49 of file CrossTranslationUnit.h.

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