Rose2xaif
|
#include <SageAttr.hpp>
Public Types | |
enum | DontVisitReason { NOT_SET, DUMMY_SUBROUTINE_RETURN } |
Public Member Functions | |
void | set_change_to_pointer (int i) |
int | get_change_to_pointer () |
SageSymbolAttr () | |
void | setDontVisit (DontVisitReason aReason) |
bool | dontVisit () const |
virtual SageSymbolAttr * | copy () |
Public Member Functions inherited from rose2xaif::SageAttrWithScope | |
SageAttrWithScope () | |
void | setSgScopeId (int i) |
int | getSgScopeId () |
Public Member Functions inherited from rose2xaif::SageAttr | |
SageAttr () | |
bool | isPragma () const |
bool | isActive () |
void | setActive () |
void | unsetActive () |
void | add_to_change_log (std::string str1) |
std::string | get_change_log () |
Public Attributes | |
int | flags |
long | floatBits1 |
long | floatBits2 |
SgVariableSymbol * | ret_symbol |
Static Public Attributes | |
static const char * | ourClassName ="SageSymbolAttr" |
Private Attributes | |
int | change_to_pointer |
bool | myDontVisitFlag |
DontVisitReason | myDontVisitReason |
Definition at line 97 of file SageAttr.hpp.
Enumerator | |
---|---|
NOT_SET |
default value when myDontVisitFlag is false Rose introduces a fake Fortran subroutine return value for consistency with Fortran functions |
DUMMY_SUBROUTINE_RETURN |
Definition at line 109 of file SageAttr.hpp.
|
inline |
Definition at line 124 of file SageAttr.hpp.
Referenced by copy().
|
inlinevirtual |
reimplement this for tree copies to work properly
Reimplemented from rose2xaif::SageAttrWithScope.
Definition at line 138 of file SageAttr.hpp.
References SageSymbolAttr().
Referenced by rose2xaif::CanonState::canonicalizeVariableDeclarationStmt().
|
inline |
Definition at line 134 of file SageAttr.hpp.
References myDontVisitFlag.
Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().
|
inline |
Definition at line 104 of file SageAttr.hpp.
Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().
|
inline |
Definition at line 103 of file SageAttr.hpp.
References change_to_pointer.
Referenced by rose2xaif::SymbolsAndActiveAnalysis::convertParameterType().
void rose2xaif::SageSymbolAttr::setDontVisit | ( | SageSymbolAttr::DontVisitReason | aReason) |
Definition at line 471 of file SageAttr.cpp.
References myDontVisitFlag, myDontVisitReason, and THROW_LOGICEXCEPTION_MACRO.
Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().
|
private |
Definition at line 120 of file SageAttr.hpp.
Referenced by set_change_to_pointer().
int rose2xaif::SageSymbolAttr::flags |
Definition at line 99 of file SageAttr.hpp.
Referenced by rose2xaif::CanonState::canonicalizeClassDeclarationStmt(), rose2xaif::SymbolsAndActiveAnalysis::handleFunction(), rose2xaif::SymbolsAndActiveAnalysis::handleSymbols(), rose2xaif::ConvertDeclarationsPassC::visit(), and rose2xaif::ConvertDeclarationsPassCPlusPlus::visit().
long rose2xaif::SageSymbolAttr::floatBits1 |
Definition at line 100 of file SageAttr.hpp.
Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleFunction(), and rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().
long rose2xaif::SageSymbolAttr::floatBits2 |
Definition at line 101 of file SageAttr.hpp.
Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleFunction(), and rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().
|
private |
Definition at line 121 of file SageAttr.hpp.
Referenced by dontVisit(), and setDontVisit().
|
private |
Definition at line 122 of file SageAttr.hpp.
Referenced by setDontVisit().
|
static |
for debugging in the template functions
Definition at line 104 of file SageAttr.hpp.
SgVariableSymbol* rose2xaif::SageSymbolAttr::ret_symbol |
Definition at line 102 of file SageAttr.hpp.
Referenced by rose2xaif::CanonState::ShouldConvertToProc().