retdec
|
Support for implementing the getCHeaderFileForFunc semantics. More...
#include <cstddef>
#include <optional>
#include "retdec/llvmir2hll/support/types.h"
#include "retdec/utils/array.h"
Go to the source code of this file.
Namespaces | |
retdec | |
retdec::llvmir2hll | |
retdec::llvmir2hll::semantics | |
Implementation of semantics. | |
Macros | |
#define | ADD_FUNCS_TO_C_HEADER_MAP(funcs, header, map) |
Maps all the functions from array funcs into header by adding them into map. More... | |
Functions | |
std::optional< std::string > | retdec::llvmir2hll::semantics::getCHeaderFileForFuncFromMap (const std::string &funcName, const StringStringUMap &map) |
Returns the header name for the given function from the given map. More... | |
Support for implementing the getCHeaderFileForFunc semantics.
#define ADD_FUNCS_TO_C_HEADER_MAP | ( | funcs, | |
header, | |||
map | |||
) |
Maps all the functions from array funcs into header by adding them into map.
[in] | funcs | Statically allocated array of function names (const char * ). |
[in] | header | The name of the header file (const char * ). |
[out] | map | A map into which the mappings will be stored. |