#include <StructType.hpp>
Public Member Functions | |
StructDefinition (const std::string &name) | |
virtual | ~StructDefinition () |
virtual size_t | getSize (const TargetInfo &targetInfo) const |
const Type * | getNthFieldType (int n) const |
Definition at line 43 of file StructType.hpp.
cfront::StructDefinition::StructDefinition | ( | const std::string & | name | ) | [inline] |
Definition at line 45 of file StructType.hpp.
virtual cfront::StructDefinition::~StructDefinition | ( | ) | [inline, virtual] |
Definition at line 46 of file StructType.hpp.
virtual size_t cfront::StructDefinition::getSize | ( | const TargetInfo & | targetInfo | ) | const [inline, virtual] |
Implements cfront::SUDefinition.
Definition at line 48 of file StructType.hpp.
References cfront::SUDefinition::getAlign(), cfront::SUDefinition::getFields(), and OffloadSpe::offset.
Referenced by TypeTest::testSizeofType().
const Type* cfront::StructDefinition::getNthFieldType | ( | int | n | ) | const [inline] |
Definition at line 80 of file StructType.hpp.
References cfront::SUDefinition::fields_.
Referenced by cfront::CAnalyzer::getInitializerListElemType().