#include "TestUtil.hpp"
#include "../CToken.hpp"
#include <iostream>
#include <string>
#include <sstream>
Go to the source code of this file.
Functions | |
RefNode | parseString (std::string str, void(cfront::CParser::*ruleFunc)()) |
TargetInfo * | makeDefaultTargetInfo () |
TargetInfo* makeDefaultTargetInfo | ( | ) |
Definition at line 75 of file TestUtil.cpp.
References cfront::TargetInfo::setAlign(), and cfront::TargetInfo::setSize().
Referenced by parseString(), and TypeTest::testSizeofType().
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().