File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -548,6 +548,7 @@ namespace tests {
548
548
[[nodiscard]] static MethodDescription fromFunctionInfo (const types::FunctionInfo& fInfo ) {
549
549
MethodDescription method;
550
550
method.name = fInfo .name ;
551
+ method.callName ;
551
552
method.returnType = fInfo .returnType ;
552
553
for (const auto & param: fInfo .params ) {
553
554
method.params .emplace_back (param.type , param.name , std::nullopt);
Original file line number Diff line number Diff line change @@ -392,6 +392,7 @@ namespace printer {
392
392
bool makeStatic) {
393
393
auto methodCopy = method;
394
394
methodCopy.name = method.name ;
395
+ methodCopy.callName = method.callName ;
395
396
396
397
std::string stubSymbolicVarName = getStubSymbolicVarName (nameForStub);
397
398
if (!types::TypesHandler::omitMakeSymbolic (method.returnType )) {
@@ -400,11 +401,14 @@ namespace printer {
400
401
types::PointerUsage::PARAMETER);
401
402
}
402
403
404
+ // TODO delete copy paste
403
405
if (!prefix.empty ()) {
404
406
methodCopy.name = prefix + " _" + methodCopy.name ;
407
+ methodCopy.callName = prefix + " _" + methodCopy.callName ;
405
408
}
406
409
if (!suffix.empty ()) {
407
410
methodCopy.name += " _" + suffix;
411
+ methodCopy.callName += " _" + suffix;
408
412
}
409
413
std::vector<std::string> modifiers;
410
414
if (makeStatic) {
You can’t perform that action at this time.
0 commit comments