clang: include/clang/AST/ASTImportError.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_CLANG_AST_ASTIMPORTERROR_H

15#define LLVM_CLANG_AST_ASTIMPORTERROR_H

16

17#include "llvm/Support/Error.h"

18

20

21class ASTImportError : public llvm::ErrorInfo {

22public:

23

29

31

32 static char ID;

33

41

43

44 void log(llvm::raw_ostream &OS) const override;

46};

47

48}

49

50#endif

std::error_code convertToErrorCode() const override

ASTImportError(ErrorKind Error)

Definition ASTImportError.h:40

static char ID

Definition ASTImportError.h:32

ErrorKind Error

Definition ASTImportError.h:30

ASTImportError & operator=(const ASTImportError &Other)

Definition ASTImportError.h:36

ASTImportError(const ASTImportError &Other)

Definition ASTImportError.h:35

ASTImportError()

Definition ASTImportError.h:34

std::string toString() const

ErrorKind

Kind of error when importing an AST component.

Definition ASTImportError.h:24

@ Unknown

Not supported node or case.

Definition ASTImportError.h:27

@ UnsupportedConstruct

Naming ambiguity (likely ODR violation).

Definition ASTImportError.h:26

@ NameConflict

Definition ASTImportError.h:25

The JSON file list parser is used to communicate input to InstallAPI.

@ Other

Other implicit parameter.