diff options
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp')
-rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp index 190eacaa2b62..a164d48ae3e0 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp @@ -30,8 +30,8 @@ ASTStructExtractor::ASTStructExtractor(ASTConsumer *passthrough, const char *struct_name, ClangFunctionCaller &function) : m_ast_context(nullptr), m_passthrough(passthrough), - m_passthrough_sema(nullptr), m_sema(nullptr), m_action(nullptr), - m_function(function), m_struct_name(struct_name) { + m_passthrough_sema(nullptr), m_sema(nullptr), m_function(function), + m_struct_name(struct_name) { if (!m_passthrough) return; @@ -170,7 +170,6 @@ void ASTStructExtractor::PrintStats() { void ASTStructExtractor::InitializeSema(Sema &S) { m_sema = &S; - m_action = reinterpret_cast<Action *>(m_sema); if (m_passthrough_sema) m_passthrough_sema->InitializeSema(S); @@ -178,7 +177,6 @@ void ASTStructExtractor::InitializeSema(Sema &S) { void ASTStructExtractor::ForgetSema() { m_sema = nullptr; - m_action = nullptr; if (m_passthrough_sema) m_passthrough_sema->ForgetSema(); |