This patch adds a way to extract the return type out
of the CPlusPlusNameParser. This will be useful
for cases where we want a function's basename *and* the
return type but not the function arguments; this is
currently not possible (the parser either gives us the
full name or just the basename). Since the parser knows
how to handle return types already we should just expose
this to users that need it.
Testing
- Added unit-tests
I believe the return type here should be something like string (*)(float) (a pointer to a function that takes a float and returns a string).