aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bruiser/bruiser.h13
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
{