SBBlock.h revision 63094e0bb161580564954dee512955c1c79d3476
1//===-- SBBlock.h -----------------------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef LLDB_SBBlock_h_ 11#define LLDB_SBBlock_h_ 12 13#include "lldb/API/SBDefines.h" 14 15namespace lldb { 16 17class SBBlock 18{ 19public: 20 21 SBBlock (); 22 23 ~SBBlock (); 24 25 bool 26 IsValid () const; 27 28 void 29 AppendVariables (bool can_create, bool get_parent_variables, lldb_private::VariableList *var_list); 30 31private: 32 friend class SBFrame; 33 friend class SBSymbolContext; 34 35 SBBlock (lldb_private::Block *lldb_object_ptr); 36 37 38 lldb_private::Block *m_opaque_ptr; 39}; 40 41 42} // namespace lldb 43 44#endif // LLDB_SBBlock_h_ 45