#include "InterpreterTestFixture.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclGroup.h"
#include "clang/AST/Mangle.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/TextDiagnosticPrinter.h"
#include "clang/Interpreter/Interpreter.h"
#include "clang/Interpreter/Value.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/Sema.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
usingnamespaceclang;
int Global = …;
REPL_EXTERNAL_VISIBILITY int getGlobal() { … }
REPL_EXTERNAL_VISIBILITY void setGlobal(int val) { … }
namespace {
class InterpreterTest : public InterpreterTestBase { … };
Args;
static std::unique_ptr<Interpreter>
createInterpreter(const Args &ExtraArgs = { … }
static size_t DeclsSize(TranslationUnitDecl *PTUDecl) { … }
TEST_F(InterpreterTest, Sanity) { … }
static std::string DeclToString(Decl *D) { … }
TEST_F(InterpreterTest, IncrementalInputTopLevelDecls) { … }
TEST_F(InterpreterTest, Errors) { … }
TEST_F(InterpreterTest, DeclsAndStatements) { … }
TEST_F(InterpreterTest, UndoCommand) { … }
static std::string MangleName(NamedDecl *ND) { … }
TEST_F(InterpreterTest, FindMangledNameSymbol) { … }
static Value AllocateObject(TypeDecl *TD, Interpreter &Interp) { … }
static NamedDecl *LookupSingleName(Interpreter &Interp, const char *Name) { … }
TEST_F(InterpreterTest, InstantiateTemplate) { … }
TEST_F(InterpreterTest, Value) { … }
TEST_F(InterpreterTest, TranslationUnit_CanonicalDecl) { … }
}