Cthulhu  0.2.10
Cthulhu compiler collection
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
events.inc
Go to the documentation of this file.
1 #ifndef NEW_EVENT
2 # define NEW_EVENT(id, ...)
3 #endif
4 
5 NEW_EVENT(LLVMWarnEvent, {
6  .severity = eSeverityWarn,
7  .id = "LLVM0001",
8  .brief = "LLVM warning",
9  .description = "An LLVM warning was encountered",
10 })
11 
12 NEW_EVENT(LLVMFatalEvent, {
13  .severity = eSeverityFatal,
14  .id = "LLVM0002",
15  .brief = "LLVM fatal error",
16  .description = "An LLVM fatal error was encountered",
17 })
18 
19 NEW_EVENT(LLVMRemarkEvent, {
20  .severity = eSeverityInfo,
21  .id = "LLVM0003",
22  .brief = "LLVM remark",
23  .description = "An LLVM remark was encountered",
24 })
25 
26 NEW_EVENT(LLVMNoteEvent, {
27  .severity = eSeverityInfo,
28  .id = "LLVM0004",
29  .brief = "LLVM note",
30  .description = "An LLVM note was encountered",
31 })
32 
33 #undef NEW_EVENT
#define NEW_EVENT(id,...)
Definition: events.inc:2