diff options
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index c0744e87898..483a8dcdd77 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -195,6 +195,10 @@ struct lang_hooks_for_decls predetermined, OMP_CLAUSE_DEFAULT_UNSPECIFIED otherwise. */ enum omp_clause_default_kind (*omp_predetermined_sharing) (tree); + /* Return decl that should be reported for DEFAULT(NONE) failure + diagnostics. Usually the DECL passed in. */ + tree (*omp_report_decl) (tree); + /* Return true if DECL's DECL_VALUE_EXPR (if any) should be disregarded in OpenMP construct, because it is going to be remapped during OpenMP lowering. SHARED is true if DECL @@ -442,6 +446,14 @@ struct lang_hooks /* Map a type to a runtime object to match type. */ tree (*eh_runtime_type) (tree); + /* If non-NULL, this is a function that returns a function decl to be + executed if an unhandled exception is propagated out of a cleanup + region. For example, in C++, an exception thrown by a destructor + during stack unwinding is required to result in a call to + `std::terminate', so the C++ version of this function returns a + FUNCTION_DECL for `std::terminate'. */ + tree (*eh_protect_cleanup_actions) (void); + /* True if this language uses __cxa_end_cleanup when the ARM EABI is enabled. */ bool eh_use_cxa_end_cleanup; |