Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Extract only C++ Methods?

Yes and No, Extract Function should work for C++ function too. But C was not 
in our focus until now. Additionally the words method and function are not 
used uniform.


On Monday 15 September 2008 23.25:09 Thomas Ball wrote:
> The return type of C functions created by Extract Function appear to always
> be void, regardless of the expression type.  Looking at
> ExtractExpression.determineReturnType(), it checks for several CPP AST
> types and defaults to void.  Is this intentional?  If so, perhaps the
> refactoring should be renamed to Extract Method.  If not, should I file a
> bug?
> Tom

Back to the top