MCPcopy Create free account
hub / github.com/Samsung/UTopia / generateMainDeletion

Method generateMainDeletion

lib/generation/UTModify.cpp:378–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void UTModify::generateMainDeletion(const SourceAnalysisReport &SourceReport) {
379 const auto &MainFuncLoc = SourceReport.getMainFuncLoc();
380 if (MainFuncLoc.getFilePath().empty())
381 return;
382 addReplace(Replacement(MainFuncLoc.getFilePath(), MainFuncLoc.getOffset(),
383 MainFuncLoc.getLength(), ""));
384}
385
386void UTModify::generateTop(
387 const std::map<std::string, std::string> &FuzzVarDecls,

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.80
getFilePathMethod · 0.45
getOffsetMethod · 0.45
getLengthMethod · 0.45

Tested by

no test coverage detected