File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -44,18 +44,6 @@ public bool UpdateName(Declaration decl)
44
44
45
45
private bool UpdateName ( Function function )
46
46
{
47
- var @params = function . Parameters . Where ( p => p . Kind != ParameterKind . IndirectReturnType )
48
- . Select ( p => p . QualifiedType . ToString ( ) ) ;
49
- // Include the conversion type in case of conversion operators
50
- var method = function as Method ;
51
- if ( method != null &&
52
- method . IsOperator &&
53
- ( method . OperatorKind == CXXOperatorKind . Conversion ||
54
- method . OperatorKind == CXXOperatorKind . ExplicitConversion ) )
55
- @params = @params . Concat ( new [ ] { method . ConversionType . ToString ( ) } ) ;
56
- var signature = $ "{ function . Name } ({ string . Join ( ", " , @params ) } )";
57
- signature = FixSignatureForConversions ( function , signature ) ;
58
-
59
47
if ( Count == 0 )
60
48
Count ++ ;
61
49
@@ -73,6 +61,7 @@ private bool UpdateName(Function function)
73
61
if ( Count < methodCount + 1 )
74
62
Count = methodCount + 1 ;
75
63
64
+ var method = function as Method ;
76
65
if ( function . IsOperator )
77
66
{
78
67
// TODO: turn into a method; append the original type (say, "signed long")
You can’t perform that action at this time.
0 commit comments