#include <lib/tl/tlstring.h>
#include <lib/lex/location.h>
#include <lib/serror.h>
#include <lib/message/manager.h>
Include dependency graph for message.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Message |
| Represents a message which can be passed from the error/warning/... (generating) functions via the message manager to all the message handlers. More... | |
Defines | |
| #define | _LIB_MESSAGE_MESSAGE_H_ 1 |
| #define | Debug(t, args...) |
| See description of file message.h for details. | |
Functions | |
| void | _vaMessage (Message::Type t, const SCLocationRange &loc, const char *fmt, va_list ap) |
| Internally used for all the printf-like messages. | |
Messages are errors, warnings or debug messages to be displayed to the user. The message system is used for that purpose; see manager.cc and class MessageManager.
In general there are 4 different message types:
The Debug() functions are actually macros which do a check if this message is needed at all before. The check will actually put the whole arguments into an if() block, so
Definition in file message.h.
|
|
|
|
|
Value: do { if(MessageManager::IsRequestedType((Message::Type)t)) \ _Debug((Message::Type)t,args); } while(0)
Definition at line 190 of file message.h. Referenced by main(), and ReportSomeMessages(). |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
Internally used for all the printf-like messages.
Definition at line 24 of file message.cc. References MessageManager::PostMessage(), and TLString::vsprintf(). |
|
||||||||||||||||
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Referenced by VM::_AssertAC_Fail(), VM::_SizeAssertFail(), and VM::_SizeAssertFail2(). |
|
||||||||||||||||
|
||||||||||||||||
|
|
|
||||||||||||
|
|
1.3.5