#include "IncrementalParser.h"
#include "clang/AST/DeclContextInternals.h"
#include "clang/CodeGen/BackendUtil.h"
#include "clang/CodeGen/CodeGenAction.h"
#include "clang/CodeGen/ModuleBuilder.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/FrontendTool/Utils.h"
#include "clang/Interpreter/Interpreter.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/Sema.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/CrashRecoveryContext.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Timer.h"
#include <sstream>
namespace clang {
class IncrementalASTConsumer final : public ASTConsumer { … };
class IncrementalAction : public WrapperFrontendAction { … };
CodeGenerator *IncrementalParser::getCodeGen() const { … }
IncrementalParser::IncrementalParser() { … }
IncrementalParser::IncrementalParser(Interpreter &Interp,
std::unique_ptr<CompilerInstance> Instance,
llvm::LLVMContext &LLVMCtx,
llvm::Error &Err)
: … { … }
IncrementalParser::~IncrementalParser() { … }
llvm::Expected<PartialTranslationUnit &>
IncrementalParser::ParseOrWrapTopLevelDecl() { … }
llvm::Expected<PartialTranslationUnit &>
IncrementalParser::Parse(llvm::StringRef input) { … }
std::unique_ptr<llvm::Module> IncrementalParser::GenModule() { … }
void IncrementalParser::CleanUpPTU(PartialTranslationUnit &PTU) { … }
llvm::StringRef IncrementalParser::GetMangledName(GlobalDecl GD) const { … }
}