summaryrefslogtreecommitdiff
path: root/include/lldb/Core/ValueObjectVariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/ValueObjectVariable.h')
-rw-r--r--include/lldb/Core/ValueObjectVariable.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/include/lldb/Core/ValueObjectVariable.h b/include/lldb/Core/ValueObjectVariable.h
index 81a8eabdacbb..86bb8ef90070 100644
--- a/include/lldb/Core/ValueObjectVariable.h
+++ b/include/lldb/Core/ValueObjectVariable.h
@@ -1,9 +1,8 @@
//===-- ValueObjectVariable.h -----------------------------------*- C++ -*-===//
//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
@@ -24,26 +23,13 @@
namespace lldb_private {
class DataExtractor;
-}
-namespace lldb_private {
class Declaration;
-}
-namespace lldb_private {
class Status;
-}
-namespace lldb_private {
class ExecutionContextScope;
-}
-namespace lldb_private {
class SymbolContextScope;
-}
-
-namespace lldb_private {
-//----------------------------------------------------------------------
// A ValueObject that contains a root variable that may or may not
// have children.
-//----------------------------------------------------------------------
class ValueObjectVariable : public ValueObject {
public:
~ValueObjectVariable() override;
@@ -77,7 +63,7 @@ public:
bool SetData(DataExtractor &data, Status &error) override;
- virtual lldb::VariableSP GetVariable() override { return m_variable_sp; }
+ lldb::VariableSP GetVariable() override { return m_variable_sp; }
protected:
bool UpdateValue() override;
@@ -92,9 +78,7 @@ protected:
private:
ValueObjectVariable(ExecutionContextScope *exe_scope,
const lldb::VariableSP &var_sp);
- //------------------------------------------------------------------
// For ValueObject only
- //------------------------------------------------------------------
DISALLOW_COPY_AND_ASSIGN(ValueObjectVariable);
};