Skip to content

Commit 8944d0b

Browse files
frontend: cpp: fix signature definition (#2130)
Return values are part of the func sig Signed-off-by: David Korczynski <[email protected]>
1 parent ed845e4 commit 8944d0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fuzz_introspector/frontends/frontend_cpp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ def _extract_information(self):
291291
else:
292292
self.return_type = 'void'
293293

294+
# Re-assign signature
295+
self.sig = self.return_type + ' ' + self.sig
296+
294297
# Handles parameters
295298
if param_list_node:
296299
for param in param_list_node.children:

0 commit comments

Comments
 (0)