class AtomicFileWriteError

Declaration

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

Description

Base class for user error types. Users should declare their error types like: class MyError : public ErrorInfo <MyError > { .... }; This class provides an implementation of the ErrorInfoBase::kind method, which is used by the Error RTTI system.

Declared at: llvm/include/llvm/Support/FileUtilities.h:85

Inherits from: ErrorInfo

Member Variables

public const llvm::atomic_write_error Error
public static char ID

Method Overview

Methods

AtomicFileWriteError(
    llvm::atomic_write_error Error)

Declared at: llvm/include/llvm/Support/FileUtilities.h:87

Parameters

llvm::atomic_write_error Error

void log(llvm::raw_ostream& OS) const

Description

Print an error message to an output stream.

Declared at: llvm/include/llvm/Support/FileUtilities.h:89

Parameters

llvm::raw_ostream& OS