class ErrorList

Declaration

class ErrorList : public ErrorInfo { /* full declaration omitted */ };

Description

Special ErrorInfo subclass representing a list of ErrorInfos. Instances of this class are constructed by joinError.

Declared at: llvm/include/llvm/Support/Error.h:359

Inherits from: ErrorInfo

Member Variables

public static char ID

Method Overview

Methods

std::error_code convertToErrorCode() const

Description

Convert this error to a std::error_code. This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.

Declared at: llvm/include/llvm/Support/Error.h:377

void log(llvm::raw_ostream& OS) const

Description

Print an error message to an output stream.

Declared at: llvm/include/llvm/Support/Error.h:369

Parameters

llvm::raw_ostream& OS