forked from OSchip/llvm-project
Cleaned a few build related things up:
Added a virtual destructor to ClangUtilityFunction with a body to it cleans itself up. Moved our SharingPtr into the lldb_private namespace to keep it easy to make an exports file that exports only what is needed ("lldb::*"). llvm-svn: 114771
This commit is contained in:
parent
cdf612277a
commit
5573fde342
lldb
include/lldb
source
|
@ -130,7 +130,8 @@ public:
|
|||
//------------------------------------------------------------------
|
||||
/// Destructor
|
||||
//------------------------------------------------------------------
|
||||
virtual ~ClangFunction();
|
||||
virtual
|
||||
~ClangFunction();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Compile the wrapper function
|
||||
|
|
|
@ -50,7 +50,8 @@ public:
|
|||
//------------------------------------------------------------------
|
||||
/// Destructor
|
||||
//------------------------------------------------------------------
|
||||
virtual ~ClangUserExpression ();
|
||||
virtual
|
||||
~ClangUserExpression ();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Parse the expression
|
||||
|
|
|
@ -52,6 +52,9 @@ public:
|
|||
ClangUtilityFunction (const char *text,
|
||||
const char *name);
|
||||
|
||||
virtual
|
||||
~ClangUtilityFunction ();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Install the utility function into a process
|
||||
///
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
namespace lldb {
|
||||
namespace lldb_private {
|
||||
|
||||
namespace imp {
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace lldb {
|
|||
template<typename _Tp>
|
||||
struct SharedPtr
|
||||
{
|
||||
typedef lldb::SharingPtr<_Tp> Type;
|
||||
typedef lldb_private::SharingPtr<_Tp> Type;
|
||||
};
|
||||
|
||||
} // namespace lldb
|
||||
|
|
|
@ -44,6 +44,10 @@ ClangUtilityFunction::ClangUtilityFunction (const char *text,
|
|||
{
|
||||
}
|
||||
|
||||
ClangUtilityFunction::~ClangUtilityFunction ()
|
||||
{
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Install the utility function into a process
|
||||
///
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "lldb/Utility/SharingPtr.h"
|
||||
|
||||
namespace lldb {
|
||||
namespace lldb_private {
|
||||
|
||||
namespace imp
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue