struct ByteCodeGenError
Declaration
struct ByteCodeGenError : public ErrorInfo { /* full declaration omitted */ };
Description
Error thrown by the compiler.
Declared at: clang/lib/AST/Interp/ByteCodeGenError.h:21
Inherits from: ErrorInfo
Member Variables
- private clang::SourceLocation Loc
- public static char ID
Method Overview
- public ByteCodeGenError(clang::SourceLocation Loc)
- public ByteCodeGenError(const clang::Stmt * S)
- public ByteCodeGenError(const clang::Decl * D)
- private std::error_code convertToErrorCode() const
- public const clang::SourceLocation & getLoc() const
- public void log(llvm::raw_ostream & OS) const
Methods
¶ByteCodeGenError(clang::SourceLocation Loc)
ByteCodeGenError(clang::SourceLocation Loc)
Declared at: clang/lib/AST/Interp/ByteCodeGenError.h:23
Parameters
¶ByteCodeGenError(const clang::Stmt* S)
ByteCodeGenError(const clang::Stmt* S)
Declared at: clang/lib/AST/Interp/ByteCodeGenError.h:24
Parameters
- const clang::Stmt* S
¶ByteCodeGenError(const clang::Decl* D)
ByteCodeGenError(const clang::Decl* D)
Declared at: clang/lib/AST/Interp/ByteCodeGenError.h:25
Parameters
- const clang::Decl* D
¶std::error_code convertToErrorCode() const
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: clang/lib/AST/Interp/ByteCodeGenError.h:38
¶const clang::SourceLocation& getLoc() const
const clang::SourceLocation& getLoc() const
Declared at: clang/lib/AST/Interp/ByteCodeGenError.h:29
¶void log(llvm::raw_ostream& OS) const
void log(llvm::raw_ostream& OS) const
Description
Print an error message to an output stream.
Declared at: clang/lib/AST/Interp/ByteCodeGenError.h:27