systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
systemc_clang::FindConstructor Class Reference

#include <FindConstructor.h>

Inheritance diagram for systemc_clang::FindConstructor:
Inheritance graph
[legend]
Collaboration diagram for systemc_clang::FindConstructor:
Collaboration graph
[legend]

Public Member Functions

 FindConstructor (const clang::CXXRecordDecl *, llvm::raw_ostream &)
 
virtual ~FindConstructor ()
 
virtual bool VisitCXXMethodDecl (clang::CXXMethodDecl *)
 
virtual bool VisitCXXConstructorDecl (clang::CXXConstructorDecl *ctor_decl)
 
bool shouldVisitTemplateInstantiations () const
 
const clang::CXXRecordDecl * getAsCXXRecordDecl () const
 
clang::CXXConstructorDecl * getConstructorDecl () const
 
clang::Stmt * getConstructorStmt () const
 
void dump () const
 

Private Member Functions

 FindConstructor (llvm::raw_ostream &)
 

Private Attributes

llvm::raw_ostream & os_
 
const clang::CXXRecordDecl * declaration_
 
clang::CXXConstructorDecl * constructor_decl_
 
clang::Stmt * constructor_stmt_
 
unsigned int pass_
 

Detailed Description

Definition at line 9 of file FindConstructor.h.

Constructor & Destructor Documentation

◆ FindConstructor() [1/2]

FindConstructor::FindConstructor ( const clang::CXXRecordDecl * declaration,
llvm::raw_ostream & os )

Definition at line 5 of file FindConstructor.cpp.

◆ ~FindConstructor()

FindConstructor::~FindConstructor ( )
virtual

Definition at line 17 of file FindConstructor.cpp.

◆ FindConstructor() [2/2]

systemc_clang::FindConstructor::FindConstructor ( llvm::raw_ostream & )
private

Member Function Documentation

◆ dump()

void FindConstructor::dump ( ) const

Definition at line 71 of file FindConstructor.cpp.

◆ getAsCXXRecordDecl()

const clang::CXXRecordDecl * FindConstructor::getAsCXXRecordDecl ( ) const

Definition at line 63 of file FindConstructor.cpp.

◆ getConstructorDecl()

clang::CXXConstructorDecl * FindConstructor::getConstructorDecl ( ) const

Definition at line 59 of file FindConstructor.cpp.

◆ getConstructorStmt()

clang::Stmt * FindConstructor::getConstructorStmt ( ) const

Definition at line 67 of file FindConstructor.cpp.

◆ shouldVisitTemplateInstantiations()

bool FindConstructor::shouldVisitTemplateInstantiations ( ) const

Definition at line 22 of file FindConstructor.cpp.

◆ VisitCXXConstructorDecl()

bool FindConstructor::VisitCXXConstructorDecl ( clang::CXXConstructorDecl * ctor_decl)
virtual

Definition at line 24 of file FindConstructor.cpp.

◆ VisitCXXMethodDecl()

bool FindConstructor::VisitCXXMethodDecl ( clang::CXXMethodDecl * method_declaration)
virtual

Definition at line 31 of file FindConstructor.cpp.

Member Data Documentation

◆ constructor_decl_

clang::CXXConstructorDecl* systemc_clang::FindConstructor::constructor_decl_
private

Definition at line 25 of file FindConstructor.h.

◆ constructor_stmt_

clang::Stmt* systemc_clang::FindConstructor::constructor_stmt_
private

Definition at line 26 of file FindConstructor.h.

◆ declaration_

const clang::CXXRecordDecl* systemc_clang::FindConstructor::declaration_
private

Definition at line 24 of file FindConstructor.h.

◆ os_

llvm::raw_ostream& systemc_clang::FindConstructor::os_
private

Definition at line 23 of file FindConstructor.h.

◆ pass_

unsigned int systemc_clang::FindConstructor::pass_
private

Definition at line 27 of file FindConstructor.h.


The documentation for this class was generated from the following files: