#include "../CLexer.hpp"
#include "../CParser.hpp"
#include "../TargetInfo.hpp"
#include "../AstCommon.hpp"
Go to the source code of this file.
Functions | |
cfront::RefNode | parseString (std::string str, void(cfront::CParser::*ruleFunc)()) |
cfront::TargetInfo * | makeDefaultTargetInfo () |
cfront::TargetInfo* makeDefaultTargetInfo | ( | ) |
Definition at line 75 of file TestUtil.cpp.
References cfront::TargetInfo::setAlign(), and cfront::TargetInfo::setSize().
Referenced by parseString(), and TypeTest::testSizeofType().
cfront::RefNode parseString | ( | std::string | str, | |
void(cfront::CParser::*)() | ruleFunc | |||
) |
Definition at line 43 of file TestUtil.cpp.
References CToken::factory(), cfront::CAnalyzer::initialize(), makeDefaultTargetInfo(), cfront::CAnalyzer::setASTFactory(), cfront::CAnalyzer::setLogs(), and cfront::CAnalyzer::setTargetInfo().