#include <FindEntryFunctions.h>
Definition at line 14 of file FindEntryFunctions.h.
◆ entryFunctionLHSMapType
◆ entryFunctionLHSPairType
◆ entryFunctionVectorType
◆ FindEntryFunctions() [1/2]
FindEntryFunctions::FindEntryFunctions |
( |
const clang::CXXRecordDecl * | d, |
|
|
llvm::raw_ostream & | os, |
|
|
clang::ASTContext & | ctx ) |
Pass_ 1: Find the constructor definition, and the Stmt* that has the code for it. Set the constructor_stmt_ pointer.
Reset logic.
Pass 2: Get the entry function name from constructor
Pass 3: Find the CXXMethodDecl* to the entry function
Definition at line 8 of file FindEntryFunctions.cpp.
◆ ~FindEntryFunctions()
FindEntryFunctions::~FindEntryFunctions |
( |
| ) |
|
|
virtual |
◆ FindEntryFunctions() [2/2]
systemc_clang::FindEntryFunctions::FindEntryFunctions |
( |
llvm::raw_ostream & | os | ) |
|
|
private |
◆ dump()
void FindEntryFunctions::dump |
( |
| ) |
|
◆ getEntryCXXRecordDecl()
CXXRecordDecl * FindEntryFunctions::getEntryCXXRecordDecl |
( |
| ) |
|
◆ getEntryFunctions()
◆ getEntryMethodDecl()
CXXMethodDecl * FindEntryFunctions::getEntryMethodDecl |
( |
| ) |
|
◆ getEntryName()
string FindEntryFunctions::getEntryName |
( |
| ) |
|
◆ getOtherFunctions()
vector< CXXMethodDecl * > FindEntryFunctions::getOtherFunctions |
( |
| ) |
|
◆ shouldVisitTemplateInstantiations()
bool FindEntryFunctions::shouldVisitTemplateInstantiations |
( |
| ) |
const |
◆ VisitCXXMethodDecl()
bool FindEntryFunctions::VisitCXXMethodDecl |
( |
CXXMethodDecl * | d | ) |
|
|
virtual |
Check if method is a constructor
Check if name is the same as _entryFunction.
Definition at line 132 of file FindEntryFunctions.cpp.
◆ VisitMemberExpr()
bool FindEntryFunctions::VisitMemberExpr |
( |
MemberExpr * | e | ) |
|
|
virtual |
◆ VisitStringLiteral()
bool FindEntryFunctions::VisitStringLiteral |
( |
StringLiteral * | l | ) |
|
|
virtual |
Virtual methods from RecursiveASTVisitor.
FIXME: Where do we erase these? Create the object to handle multiple entry functions.
Definition at line 83 of file FindEntryFunctions.cpp.
◆ _d
const CXXRecordDecl* systemc_clang::FindEntryFunctions::_d |
|
private |
◆ constructor_stmt_
Stmt* systemc_clang::FindEntryFunctions::constructor_stmt_ |
|
private |
◆ context_
clang::ASTContext& systemc_clang::FindEntryFunctions::context_ |
|
private |
◆ ctor_decl_
clang::CXXConstructorDecl* systemc_clang::FindEntryFunctions::ctor_decl_ |
|
private |
◆ ef
◆ entry_cxx_record_decl_
CXXRecordDecl* systemc_clang::FindEntryFunctions::entry_cxx_record_decl_ |
|
private |
◆ entry_function_list_
◆ entry_function_map_
◆ entry_method_decl_
CXXMethodDecl* systemc_clang::FindEntryFunctions::entry_method_decl_ |
|
private |
◆ entry_name_
string systemc_clang::FindEntryFunctions::entry_name_ |
|
private |
◆ found_entry_decl_
bool systemc_clang::FindEntryFunctions::found_entry_decl_ |
|
private |
◆ is_entry_function_
bool systemc_clang::FindEntryFunctions::is_entry_function_ |
|
private |
◆ os_
llvm::raw_ostream& systemc_clang::FindEntryFunctions::os_ |
|
private |
◆ other_function_list_
vector<CXXMethodDecl *> systemc_clang::FindEntryFunctions::other_function_list_ |
|
private |
◆ pass_
int systemc_clang::FindEntryFunctions::pass_ |
|
private |
◆ proc_type_
◆ process_me_
clang::MemberExpr* systemc_clang::FindEntryFunctions::process_me_ |
|
private |
The documentation for this class was generated from the following files: