MCPcopy Create free account
hub / github.com/avast/retdec / getDeclarationStringForFunc

Method getDeclarationStringForFunc

src/llvmir2hll/ir/module.cpp:551–553  ·  view source on GitHub ↗

* @brief Returns a C declaration string for the given function. * * If there is no declaration string attached to the given function, it returns * the empty string. */

Source from the content-addressed store, hash-verified

549* the empty string.
550*/
551std::string Module::getDeclarationStringForFunc(ShPtr<Function> func) const {
552 return config->getDeclarationStringForFunc(func->getInitialName());
553}
554
555/**
556* @brief Returns a comment for @a func.

Callers 3

emitExternalFunctionMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36