Author: panickal
Date: Tue Jun 24 13:20:51 2014
New Revision: 211618

URL: http://llvm.org/viewvc/llvm-project?rev=211618&view=rev
Log:
Remove unused files, causing CMake build error.

Removed:
    lldb/trunk/tools/lldb-mi/MIUtilSetID.cpp
    lldb/trunk/tools/lldb-mi/MIUtilSetID.h

Removed: lldb/trunk/tools/lldb-mi/MIUtilSetID.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSetID.cpp?rev=211617&view=auto
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSetID.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSetID.cpp (removed)
@@ -1,126 +0,0 @@
-//===-- MIUtilSetID.cpp -----------------------------------------*- C++ 
-*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-//++
-// File:               MIUtilSetID.cpp
-//
-// Overview:   CMIUtilSetID interface.
-//
-// Environment:        Compilers:      Visual C++ 12.
-//                                                     gcc (Ubuntu/Linaro 
4.8.1-10ubuntu9) 4.8.1
-//                             Libraries:      See MIReadmetxt. 
-//
-// Copyright:  None.
-//--
-
-// In-house headers:
-#include "MIUtilSetID.h"
-
-//++ 
------------------------------------------------------------------------------------
-// Details:    CMIUtilSetID constructor.
-// Type:       Method.
-// Args:       None.
-// Return:     None.
-// Throws:     None.
-//--
-CMIUtilSetID::CMIUtilSetID( void )
-{
-}
-
-//++ 
------------------------------------------------------------------------------------
-// Details:    CMIUtilSetID destructor.
-// Type:       Method.
-// Args:       None.
-// Return:     None.
-// Throws:     None.
-//--
-CMIUtilSetID::~CMIUtilSetID( void )
-{
-}
-
-//++ 
------------------------------------------------------------------------------------
-// Details:    Register an ID.
-// Type:       Method.
-// Args:       vId     - (R) Unique ID i.e. GUID.
-// Return:     MIstatus::success - Functional succeeded.
-//                     MIstatus::failure - Functional failed.
-// Throws:     None.
-//--
-bool CMIUtilSetID::Register( const CMIUtilString & vId )
-{
-       if( !IsValid( vId ) )
-       {
-               SetErrorDescription( CMIUtilString::Format( "ID '%s' invalid", 
vId.c_str() ) );
-               return MIstatus::failure;
-       }
-
-       if( HaveAlready( vId ) )
-               return MIstatus::success;
-
-       insert( vId );
-
-       return MIstatus::success;
-}
-
-//++ 
------------------------------------------------------------------------------------
-// Details:    Unregister an ID.
-// Type:       Method.
-// Args:       vId     - (R) Unique ID i.e. GUID.
-// Return:     MIstatus::success - Functional succeeded.
-//                     MIstatus::failure - Functional failed.
-// Throws:     None.
-//--
-bool CMIUtilSetID::Unregister( const CMIUtilString & vId )
-{
-       if( !IsValid( vId ) )
-       {
-               SetErrorDescription( CMIUtilString::Format( "ID '%s' invalid", 
vId.c_str() ) );
-               return MIstatus::failure;
-       }
-
-       erase( vId );
-
-       return MIstatus::success;
-}
-
-//++ 
------------------------------------------------------------------------------------
-// Details:    Check an ID is already registered.
-// Type:       Method.
-// Args:       vId     - (R) Unique ID i.e. GUID.
-// Return:     True - registered.
-//                     False - not found.
-// Throws:     None.
-//--
-bool CMIUtilSetID::HaveAlready( const CMIUtilString & vId ) const
-{
-       const_iterator it = find( vId );
-       if( it != end() )
-               return true;
-       
-       return false;
-}
-
-//++ 
------------------------------------------------------------------------------------
-// Details:    Check the ID is valid to be registered.
-// Type:       Method.
-// Args:       vId     - (R) Unique ID i.e. GUID.
-// Return:     True - valid.
-//                     False - not valid.
-// Throws:     None.
-//--
-bool CMIUtilSetID::IsValid( const CMIUtilString & vId ) const
-{
-       bool bValid = true;
-
-       if( vId.empty() )
-               bValid = false;
-       
-       return bValid;
-}
-

Removed: lldb/trunk/tools/lldb-mi/MIUtilSetID.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSetID.h?rev=211617&view=auto
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSetID.h (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSetID.h (removed)
@@ -1,55 +0,0 @@
-//===-- MIUtilSetID.h -------------------------------------------*- C++ 
-*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-//++
-// File:               MIUtilSetID.h
-//
-// Overview:   CMIUtilSetID interface.
-//
-// Environment:        Compilers:      Visual C++ 12.
-//                                                     gcc (Ubuntu/Linaro 
4.8.1-10ubuntu9) 4.8.1
-//                             Libraries:      See MIReadmetxt. 
-//
-// Copyright:  None.
-//--
-
-#pragma once
-
-// Third party headers:
-#include <set>
-
-// In-house headers:
-#include "MIUtilString.h"  
-#include "MICmnBase.h"
-
-//++ 
============================================================================
-// Details:    MI common code utility class. Set type container used to handle 
-//                     unique ID registration.
-// Gotchas:    None.
-// Authors:    Illya Rudkin 17/02/2014.
-// Changes:    None.
-//--
-class CMIUtilSetID 
-:      public std::set< CMIUtilString >
-,      public CMICmnBase
-{
-// Methods:
-public:
-       /* ctor */      CMIUtilSetID( void );
-       
-       bool    Register( const CMIUtilString & vId );
-       bool    Unregister( const CMIUtilString & vId );
-       bool    HaveAlready( const CMIUtilString & vId ) const;
-       bool    IsValid( const CMIUtilString & vId ) const;
-
-// Overrideable:
-public:
-       // From CMICmnBase
-       /* dtor */ virtual ~CMIUtilSetID( void );
-};


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to