From 5b08b99cb65bd0dda62b8a75095660bd33ebf5c8 Mon Sep 17 00:00:00 2001 From: rihi <19492038+rihi@users.noreply.github.com> Date: Thu, 14 Sep 2023 11:38:16 +0200 Subject: [PATCH] Remove duplicated 'FunctionTypeDef' definition --- decompiler/structures/pseudo/typing.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/decompiler/structures/pseudo/typing.py b/decompiler/structures/pseudo/typing.py index 15eadfc7d..8f367da62 100644 --- a/decompiler/structures/pseudo/typing.py +++ b/decompiler/structures/pseudo/typing.py @@ -217,16 +217,6 @@ def __str__(self) -> str: return f"{self.return_type}({', '.join(str(x) for x in self.parameters)})" -@dataclass(frozen=True, order=True) -class FunctionTypeDef(Type): - return_type: Type - parameters: Tuple[Parameter, ...] - - def __str__(self) -> str: - """Return an anonymous string representation such as void*(int, int, char*).""" - return f"{self.return_type}({', '.join(str(x) for x in self.parameters)})" - - class TypeParser: """A type parser in charge of creating types."""