Browse Source

Revert "Move all the code in the old parser to the CppSharp::Parser namespace."

This reverts commit 6297ec532e.
pull/72/merge
triton 12 years ago
parent
commit
ca5d1ed280
  1. 1
      src/Parser/Comments.cpp
  2. 2
      src/Parser/Main.cpp
  3. 4
      src/Parser/Options.h
  4. 2
      src/Parser/Parser.cpp
  5. 4
      src/Parser/Parser.h

1
src/Parser/Comments.cpp

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
#include "Interop.h"
#include <clang/AST/ASTContext.h>
using namespace CppSharp::Parser;
//-----------------------------------//

2
src/Parser/Main.cpp

@ -8,8 +8,6 @@ @@ -8,8 +8,6 @@
#include "Parser.h"
#include "Interop.h"
using namespace CppSharp::Parser;
public ref class ClangParser
{
public:

4
src/Parser/Options.h

@ -9,8 +9,6 @@ @@ -9,8 +9,6 @@
#include <vcclr.h>
using namespace System::Collections::Generic;
namespace CppSharp { namespace Parser {
public ref struct ParserOptions
{
ParserOptions()
@ -91,5 +89,3 @@ enum class SourceLocationKind @@ -91,5 +89,3 @@ enum class SourceLocationKind
System,
User
};
} }

2
src/Parser/Parser.cpp

@ -31,8 +31,6 @@ @@ -31,8 +31,6 @@
#include <CodeGen/TargetInfo.h>
#include <CodeGen/CGCall.h>
using namespace CppSharp::Parser;
//-----------------------------------//
Parser::Parser(ParserOptions^ Opts) : Lib(Opts->Library), Opts(Opts), Index(0)

4
src/Parser/Parser.h

@ -38,8 +38,6 @@ namespace clang { @@ -38,8 +38,6 @@ namespace clang {
#define Debug printf
namespace CppSharp { namespace Parser {
struct Parser
{
Parser(ParserOptions^ Opts);
@ -108,5 +106,3 @@ protected: @@ -108,5 +106,3 @@ protected:
clang::TargetCodeGenInfo* CodeGenInfo;
clang::CodeGen::CodeGenTypes* CodeGenTypes;
};
} }
Loading…
Cancel
Save