Remove unused member variable in ExternalInterpreterSource.
This commit is contained in:
parent
e4c24a133a
commit
990eed5dce
@ -38,8 +38,6 @@ namespace cling {
|
|||||||
const cling::Interpreter *m_ParentInterpreter;
|
const cling::Interpreter *m_ParentInterpreter;
|
||||||
cling::Interpreter *m_ChildInterpreter;
|
cling::Interpreter *m_ChildInterpreter;
|
||||||
|
|
||||||
clang::Sema *m_Sema = nullptr;
|
|
||||||
|
|
||||||
///\brief We keep a mapping between the imported DeclContexts
|
///\brief We keep a mapping between the imported DeclContexts
|
||||||
/// and the original ones from of the first Interpreter.
|
/// and the original ones from of the first Interpreter.
|
||||||
/// Key: imported DeclContext
|
/// Key: imported DeclContext
|
||||||
@ -70,10 +68,6 @@ namespace cling {
|
|||||||
const clang::DeclContext *childCurrentDeclContext,
|
const clang::DeclContext *childCurrentDeclContext,
|
||||||
clang::DeclarationName childDeclName) override;
|
clang::DeclarationName childDeclName) override;
|
||||||
|
|
||||||
void InitializeSema(clang::Sema &S) { m_Sema = &S; }
|
|
||||||
|
|
||||||
void ForgetSema() { m_Sema = nullptr; }
|
|
||||||
|
|
||||||
bool Import(clang::DeclContext::lookup_result lookupResult,
|
bool Import(clang::DeclContext::lookup_result lookupResult,
|
||||||
const clang::DeclContext *childCurrentDeclContext,
|
const clang::DeclContext *childCurrentDeclContext,
|
||||||
clang::DeclarationName &childDeclName,
|
clang::DeclarationName &childDeclName,
|
||||||
|
Loading…
Reference in New Issue
Block a user