@ -9,6 +9,7 @@
#include "Interop.h"
#include <clang/AST/ASTContext.h>
using namespace CppSharp::Parser;
//-----------------------------------//
@ -8,6 +8,8 @@
#include "Parser.h"
public ref class ClangParser
{
public:
@ -9,6 +9,8 @@
#include <vcclr.h>
using namespace System::Collections::Generic;
namespace CppSharp { namespace Parser {
public ref struct ParserOptions
ParserOptions()
@ -88,4 +90,6 @@ enum class SourceLocationKind
CommandLine,
System,
User
};
} }
@ -31,6 +31,8 @@
#include <CodeGen/TargetInfo.h>
#include <CodeGen/CGCall.h>
Parser::Parser(ParserOptions^ Opts) : Lib(Opts->Library), Opts(Opts), Index(0)
@ -38,6 +38,8 @@ namespace clang {
#define Debug printf
struct Parser
Parser(ParserOptions^ Opts);
@ -106,3 +108,5 @@ protected:
clang::TargetCodeGenInfo* CodeGenInfo;
clang::CodeGen::CodeGenTypes* CodeGenTypes;