Apply clang-format to code base

This commit is contained in:
clang-format-bot 2022-09-22 21:26:05 +03:00 committed by ζeh Matt
parent f37d0be806
commit ddb0522bbf
No known key found for this signature in database
GPG key ID: 18CE582C71A225B0
2199 changed files with 118692 additions and 114392 deletions

View file

@ -9,30 +9,27 @@ namespace Compiler
class SourceException : public std::exception
{
public:
const char *what() const noexcept override { return "Compile error";}
///< Return error message
public:
const char* what() const noexcept override { return "Compile error"; }
///< Return error message
};
/// \brief Exception: File error
class FileException : public SourceException
{
public:
const char *what() const noexcept override { return "Can't read file"; }
///< Return error message
public:
const char* what() const noexcept override { return "Can't read file"; }
///< Return error message
};
/// \brief Exception: EOF condition encountered
class EOFException : public SourceException
{
public:
const char *what() const noexcept override { return "End of file"; }
///< Return error message
public:
const char* what() const noexcept override { return "End of file"; }
///< Return error message
};
}