clang 20.0.0git
|
#include "clang/AST/ASTImportError.h"
Public Types | |
enum | ErrorKind { NameConflict , UnsupportedConstruct , Unknown } |
Kind of error when importing an AST component. More... | |
Public Member Functions | |
ASTImportError () | |
ASTImportError (const ASTImportError &Other) | |
ASTImportError & | operator= (const ASTImportError &Other) |
ASTImportError (ErrorKind Error) | |
std::string | toString () const |
void | log (llvm::raw_ostream &OS) const override |
std::error_code | convertToErrorCode () const override |
Public Attributes | |
ErrorKind | Error |
Static Public Attributes | |
static char | ID |
Definition at line 21 of file ASTImportError.h.
Kind of error when importing an AST component.
Enumerator | |
---|---|
NameConflict | |
UnsupportedConstruct | Naming ambiguity (likely ODR violation). |
Unknown | Not supported node or case. Other error. |
Definition at line 24 of file ASTImportError.h.
|
inline |
Definition at line 34 of file ASTImportError.h.
|
inline |
Definition at line 35 of file ASTImportError.h.
|
inline |
Definition at line 40 of file ASTImportError.h.
|
override |
Definition at line 102 of file ASTImporter.cpp.
|
override |
Definition at line 100 of file ASTImporter.cpp.
References toString().
|
inline |
Definition at line 36 of file ASTImportError.h.
References Error, and clang::Other.
std::string clang::ASTImportError::toString | ( | ) | const |
Definition at line 86 of file ASTImporter.cpp.
References Error, NameConflict, Unknown, and UnsupportedConstruct.
Referenced by log().
ErrorKind clang::ASTImportError::Error |
Definition at line 30 of file ASTImportError.h.
Referenced by operator=(), and toString().
|
static |
Definition at line 32 of file ASTImportError.h.