diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-03 00:46:51 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-03 00:46:51 +0200 |
| commit | 128a564be05afb1cb2ec76884a81c2bd536899fd (patch) | |
| tree | 12bcd5e877aaff326edb253c6b53a3e8b762d699 /gcc | |
| parent | c8c9cb33f400031a697b4cad7ccc6b8555776e4f (diff) | |
| download | elna-128a564be05afb1cb2ec76884a81c2bd536899fd.tar.gz | |
Replace noreturn type with an attribute
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/gcc/elna-builtins.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcc/elna-builtins.cc b/gcc/gcc/elna-builtins.cc index ee6856d..4a50967 100644 --- a/gcc/gcc/elna-builtins.cc +++ b/gcc/gcc/elna-builtins.cc @@ -176,9 +176,9 @@ namespace elna::gcc } tree return_type = void_type_node; - if (!procedure.return_type.proper_type.empty()) + if (!procedure.return_type.empty()) { - return_type = get_inner_alias(procedure.return_type.proper_type, symbols); + return_type = get_inner_alias(procedure.return_type, symbols); } if (procedure.variadic) { @@ -344,7 +344,7 @@ namespace elna::gcc get_identifier(name.c_str()), declaration_type); symbols->enter(name, fndecl); - if (info.symbol.return_type.no_return) + if (info.noreturn) { TREE_THIS_VOLATILE(fndecl) = 1; } |
