rm StringSet

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry
2026-03-08 15:39:41 -07:00
parent 7e7ab96329
commit 4f540792a0
13 changed files with 6 additions and 112 deletions

View File

@@ -30,7 +30,6 @@
#include <mutex>
#include "StringUtil.hh"
#include "StringSet.hh"
#include "MinMax.hh"
#include "StaState.hh"
#include "NetworkClass.hh"

View File

@@ -29,7 +29,6 @@
#include <map>
#include "VectorMap.hh"
#include "StringSet.hh"
#include "MinMaxValues.hh"
#include "Delay.hh"
#include "NetworkClass.hh"

View File

@@ -1,38 +0,0 @@
// OpenSTA, Static Timing Analyzer
// Copyright (c) 2025, Parallax Software, Inc.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//
// The origin of this software must not be misrepresented; you must not
// claim that you wrote the original software.
//
// Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// This notice may not be removed or altered from any source distribution.
#pragma once
#include <set>
#include "StringUtil.hh"
namespace sta {
using StringSet = std::set<const char*, CharPtrLess>;
using StdStringSet = std::set<std::string>;
void
deleteContents(StringSet *strings);
} // namespace

View File

@@ -28,12 +28,14 @@
#include <cstring>
#include <string>
#include <vector>
#include <set>
#include "Machine.hh" // __attribute__
namespace sta {
using StdStringSeq = std::vector<std::string>;
using StdStringSet = std::set<std::string>;
inline bool
stringEq(const char *str1,

View File

@@ -22,20 +22,17 @@
//
// This notice may not be removed or altered from any source distribution.
#include "ArcDelayCalc.hh"
#include "StringSet.hh"
#include <tcl.h>
#include "ArcDelayCalc.hh"
#include "StringUtil.hh"
namespace sta {
#if TCL_MAJOR_VERSION < 9
typedef int Tcl_Size;
#endif
StringSet *
tclListSetConstChar(Tcl_Obj *const source,
Tcl_Interp *interp);
StdStringSeq
tclListSeqStdString(Tcl_Obj *const source,
Tcl_Interp *interp);

View File

@@ -28,7 +28,7 @@
#include <vector>
#include <map>
#include "StringSet.hh"
#include "StringUtil.hh"
#include "NetworkClass.hh"
namespace sta {