aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostics/paths.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostics/paths.h')
-rw-r--r--gcc/diagnostics/paths.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/diagnostics/paths.h b/gcc/diagnostics/paths.h
index d30c420..f7dff8d 100644
--- a/gcc/diagnostics/paths.h
+++ b/gcc/diagnostics/paths.h
@@ -96,7 +96,14 @@ class event
return_,
branch,
- danger
+ danger,
+
+ // Special control flow operations:
+ throw_,
+ catch_,
+ unwind_, // unwinding stack frame(s) during exception-handling
+ setjmp_,
+ longjmp_
};
enum class noun
{
@@ -131,6 +138,10 @@ class event
m_property (property::unknown)
{
}
+ meaning (enum verb verb)
+ : m_verb (verb), m_noun (noun::unknown), m_property (property::unknown)
+ {
+ }
meaning (enum verb verb, enum noun noun)
: m_verb (verb), m_noun (noun), m_property (property::unknown)
{