try_finally_expr in must_not_throw_expr

2022-07-31 Thread Philipp Rimmele via Gcc
Hi, i'm developing a GCC-Plugin. And i don't understand why there is a "try_finally_expr" in a must_not_throw-Area in my AST. It happens in the destructors. Here is my AST: function_decl Exception::__dt_base 1: must_not_throw_expr(->void_type{void})[42] 0: statement_list(->void_type{void})

Re: try_finally_expr in must_not_throw_expr

2022-08-02 Thread Richard Sandiford via Gcc
Philipp Rimmele via Gcc writes: > Hi, > > i'm developing a GCC-Plugin. And i don't understand why there is a > "try_finally_expr" in a must_not_throw-Area in my AST. It happens in the > destructors. > Here is my AST: > function_decl Exception::__dt_base > 1: must_not_throw_expr(->void_type{voi