diff options
author | bloodstalker <thabogre@gmail.com> | 2017-04-18 01:16:10 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-04-18 01:16:10 +0000 |
commit | 628311d93077af5b29ce79bb8ce2b092f7432181 (patch) | |
tree | 294eae76cc4a5798fc12c9fb97081577bc3e1d13 /bruiser | |
parent | minor changes (diff) | |
download | mutator-628311d93077af5b29ce79bb8ce2b092f7432181.tar.gz mutator-628311d93077af5b29ce79bb8ce2b092f7432181.zip |
added an error kind enumeration for bruiser
Diffstat (limited to 'bruiser')
-rw-r--r-- | bruiser/bruiser.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h index 32dafae..0335a23 100644 --- a/bruiser/bruiser.h +++ b/bruiser/bruiser.h @@ -44,12 +44,21 @@ using namespace llvm; using namespace clang; /**********************************************************************************************************************/ namespace bruiser -{ +{ //start of namespace bruiser /**********************************************************************************************************************/ const char* M0REP = "../test/misrareport.xml"; /**********************************************************************************************************************/ +/*Error Codes*/ +#define M0_ERROR_CODES \ + X(BAD_M0_XML, "bad m0 xml.", 100) \ + X(CANT_OPEN_M0_XML, "could not open m0 xml.", 101) \ + +#define X(__x1, __x2, __x3) __x1, + enum class M0_ERR {M0_ERROR_CODES}; +#undef X +/**********************************************************************************************************************/ /** - * @brief This class hanhles the logging for bruiser. + * @brief This class handles the logging for bruiser. */ class BruiserReport { |