mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Apply clang-format to code base
This commit is contained in:
parent
f37d0be806
commit
ddb0522bbf
2199 changed files with 118692 additions and 114392 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue