1#ifndef WARNING_INCLUDED
2#define WARNING_INCLUDED
Class representing a warning.
Definition: warning.h:41
std::uint32_t m_warning_code
Definition: warning.h:80
Warning(std::uint32_t warning_code, const char *warning_name, bool once)
Definition: warning.h:43
std::string m_warning_name
Definition: warning.h:79
const char * warning_name()
Return a symbolic name representing a warning.
Definition: warning.h:64
bool m_ignore_warning
Definition: warning.h:77
void set_ignore_warning(bool value)
Set ignore_warning flag.
Definition: warning.h:74
bool expired()
Check if a warning is disabled/enabled for next statement only.
Definition: warning.h:54
std::uint32_t warning_code()
Return a warning code.
Definition: warning.h:69
bool m_once_property
Definition: warning.h:78
bool ignore_warning()
Return ignore_warning flag value.
Definition: warning.h:59