retdec
get_name_of_var_storing_result.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_LLVMIR2HLL_SEMANTICS_SEMANTICS_IMPL_SUPPORT_GET_NAME_OF_VAR_STORING_RESULT_H
8 #define RETDEC_LLVMIR2HLL_SEMANTICS_SEMANTICS_IMPL_SUPPORT_GET_NAME_OF_VAR_STORING_RESULT_H
9 
10 #include <optional>
11 
13 
14 namespace retdec {
15 namespace llvmir2hll {
16 namespace semantics {
17 
18 std::optional<std::string> getNameOfVarStoringResultFromMap(
19  const std::string &funcName, const StringStringUMap &map);
20 
21 } // namespace semantics
22 } // namespace llvmir2hll
23 } // namespace retdec
24 
25 #endif
A library providing API for working with back-end IR.
std::optional< std::string > getNameOfVarStoringResultFromMap(const std::string &funcName, const StringStringUMap &map)
Returns the name of a variable storing the result from the given function from the given map.
Definition: get_name_of_var_storing_result.cpp:17
std::unordered_map< std::string, std::string > StringStringUMap
Unordered mapping of a string into a string.
Definition: types.h:141
Definition: archive_wrapper.h:19
Aliases for several useful types.