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:
Greg Clayton 2010-09-24 23:07:41 +00:00
parent cdf612277a
commit 5573fde342
7 changed files with 14 additions and 5 deletions

View File

@ -130,7 +130,8 @@ public:
//------------------------------------------------------------------
/// Destructor
//------------------------------------------------------------------
virtual ~ClangFunction();
virtual
~ClangFunction();
//------------------------------------------------------------------
/// Compile the wrapper function

View File

@ -50,7 +50,8 @@ public:
//------------------------------------------------------------------
/// Destructor
//------------------------------------------------------------------
virtual ~ClangUserExpression ();
virtual
~ClangUserExpression ();
//------------------------------------------------------------------
/// Parse the expression

View File

@ -52,6 +52,9 @@ public:
ClangUtilityFunction (const char *text,
const char *name);
virtual
~ClangUtilityFunction ();
//------------------------------------------------------------------
/// Install the utility function into a process
///

View File

@ -13,7 +13,7 @@
#include <algorithm>
#include <memory>
namespace lldb {
namespace lldb_private {
namespace imp {

View File

@ -67,7 +67,7 @@ namespace lldb {
template<typename _Tp>
struct SharedPtr
{
typedef lldb::SharingPtr<_Tp> Type;
typedef lldb_private::SharingPtr<_Tp> Type;
};
} // namespace lldb

View File

@ -44,6 +44,10 @@ ClangUtilityFunction::ClangUtilityFunction (const char *text,
{
}
ClangUtilityFunction::~ClangUtilityFunction ()
{
}
//------------------------------------------------------------------
/// Install the utility function into a process
///

View File

@ -9,7 +9,7 @@
#include "lldb/Utility/SharingPtr.h"
namespace lldb {
namespace lldb_private {
namespace imp
{