Skip to content

Commit 6ccc273

Browse files
authored
Update ASTImportError.h
1 parent caf2767 commit 6ccc273

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

clang/include/clang/AST/ASTImportError.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@
1818

1919
namespace clang {
2020

21-
<<<<<<< HEAD
2221
class ASTImportError : public llvm::ErrorInfo<ASTImportError> {
23-
=======
24-
class ImportError : public llvm::ErrorInfo<ImportError> {
25-
>>>>>>> 4bf928bce44adda059aba715664c41462536d483
22+
2623
public:
2724
/// \brief Kind of error when importing an AST component.
2825
enum ErrorKind {
@@ -35,23 +32,13 @@ class ImportError : public llvm::ErrorInfo<ImportError> {
3532

3633
static char ID;
3734

38-
<<<<<<< HEAD
3935
ASTImportError() : Error(Unknown) {}
4036
ASTImportError(const ASTImportError &Other) : Error(Other.Error) {}
4137
ASTImportError &operator=(const ASTImportError &Other) {
4238
Error = Other.Error;
4339
return *this;
4440
}
4541
ASTImportError(ErrorKind Error) : Error(Error) {}
46-
=======
47-
ImportError() : Error(Unknown) {}
48-
ImportError(const ImportError &Other) : Error(Other.Error) {}
49-
ImportError &operator=(const ImportError &Other) {
50-
Error = Other.Error;
51-
return *this;
52-
}
53-
ImportError(ErrorKind Error) : Error(Error) {}
54-
>>>>>>> 4bf928bce44adda059aba715664c41462536d483
5542

5643
std::string toString() const;
5744

0 commit comments

Comments
 (0)