Update of /cvsroot/compbench/CompBenchmarks++/Compiler/Compiler-TCC
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18689/Compiler-TCC
Modified Files:
Compiler-TCC.cpp Compiler-TCC.h
Log Message:
CBM namespace.
Index: Compiler-TCC.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/Compiler/Compiler-TCC/Compiler-TCC.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Compiler-TCC.h 1 Nov 2006 11:31:23 -0000 1.2
--- Compiler-TCC.h 18 Jan 2007 18:43:41 -0000 1.3
***************
*** 12,33 ****
#include <Compiler/Compiler.h>
! /** \brief Defines the tcc compiler
! */
! class CBMCompilerTCC : public CBMCompiler
! {
! private:
! protected:
!
! virtual std::string getCompilerName(void);
! virtual std::string getCompilerVersion(void);
! virtual char *language(void);
!
! public:
! CBMCompilerTCC (class CBMSystem *_system,
! char *_compilerBinary);
!
! virtual std::string compiler(void);
! virtual ~CBMCompilerTCC();
! };
#endif
--- 12,35 ----
#include <Compiler/Compiler.h>
! namespace CBM {
! /** \brief Defines the tcc compiler
! */
! class CompilerTCC : public Compiler
! {
! private:
! protected:
!
! virtual std::string getCompilerName(void);
! virtual std::string getCompilerVersion(void);
! virtual char *language(void);
!
! public:
! CompilerTCC (class System *_system,
! char *_compilerBinary);
!
! virtual std::string compiler(void);
! virtual ~CompilerTCC();
! };
! }
#endif
Index: Compiler-TCC.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/Compiler/Compiler-TCC/Compiler-TCC.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Compiler-TCC.cpp 1 Nov 2006 11:31:23 -0000 1.2
--- Compiler-TCC.cpp 18 Jan 2007 18:43:41 -0000 1.3
***************
*** 10,20 ****
#include <System/System.h>
! CBMCompilerTCC::CBMCompilerTCC(CBMSystem *_system,
! char *_compilerBinary)
! : CBMCompiler(_system, _compilerBinary)
{
}
! std::string CBMCompilerTCC::compiler(void)
{
std::string str = "tcc";
--- 10,22 ----
#include <System/System.h>
! using namespace CBM;
!
! CompilerTCC::CompilerTCC(System *_system,
! char *_compilerBinary)
! : Compiler(_system, _compilerBinary)
{
}
! std::string CompilerTCC::compiler(void)
{
std::string str = "tcc";
***************
*** 23,27 ****
}
! std::string CBMCompilerTCC::getCompilerName(void)
{
std::string result = "Tiny C Compiler ";
--- 25,29 ----
}
! std::string CompilerTCC::getCompilerName(void)
{
std::string result = "Tiny C Compiler ";
***************
*** 30,34 ****
}
! std::string CBMCompilerTCC::getCompilerVersion(void)
{
std::string cmd;
--- 32,36 ----
}
! std::string CompilerTCC::getCompilerVersion(void)
{
std::string cmd;
***************
*** 42,51 ****
}
! char *CBMCompilerTCC::language(void)
{
return("C");
}
! CBMCompilerTCC::~CBMCompilerTCC()
{
}
--- 44,53 ----
}
! char *CompilerTCC::language(void)
{
return("C");
}
! CompilerTCC::~CompilerTCC()
{
}
|