retdec
headers_for_declared_funcs.h
Go to the documentation of this file.
1 /*
2 * @file include/retdec/llvmir2hll/support/headers_for_declared_funcs.h
3 * @brief Retrieval of header files for all the declared functions in a module.
4 * @copyright (c) 2017 Avast Software, licensed under the MIT license
5 */
6 
7 #ifndef RETDEC_LLVMIR2HLL_SUPPORT_HEADERS_FOR_DECLARED_FUNCS_H
8 #define RETDEC_LLVMIR2HLL_SUPPORT_HEADERS_FOR_DECLARED_FUNCS_H
9 
13 
14 namespace retdec {
15 namespace llvmir2hll {
16 
17 class Module;
18 
28 public:
31 };
32 
33 } // namespace llvmir2hll
34 } // namespace retdec
35 
36 #endif
Retrieval of header files for all the declared functions in a module.
Definition: headers_for_declared_funcs.h:27
static StringSet getHeaders(ShPtr< Module > module)
Returns the header files for all the declared functions in module.
Definition: headers_for_declared_funcs.cpp:28
static bool hasAssocHeader(ShPtr< Module > module, ShPtr< Function > func)
Returns true if the given function has associated a header file, false otherwise.
Definition: headers_for_declared_funcs.cpp:47
A mixin to make classes non-copyable.
Definition: non_copyable.h:27
ShPtr< Module > module
The current module.
Definition: hll_writer.cpp:100
A library providing API for working with back-end IR.
std::shared_ptr< T > ShPtr
An alias for a shared pointer.
Definition: smart_ptr.h:18
std::set< std::string > StringSet
Set of strings.
Definition: types.h:51
Definition: archive_wrapper.h:19
A mixin to make classes non-copyable.
Declarations, aliases, macros, etc. for the use of smart pointers.
Aliases for several useful types.