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)
4444
4545 private bool UpdateName ( Function function )
4646 {
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-
5947 if ( Count == 0 )
6048 Count ++ ;
6149
@@ -73,6 +61,7 @@ private bool UpdateName(Function function)
7361 if ( Count < methodCount + 1 )
7462 Count = methodCount + 1 ;
7563
64+ var method = function as Method ;
7665 if ( function . IsOperator )
7766 {
7867 // TODO: turn into a method; append the original type (say, "signed long")
You can’t perform that action at this time.
0 commit comments