//===-- UniqueCStringMap.h --------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_CORE_UNIQUECSTRINGMAP_H #define LLDB_CORE_UNIQUECSTRINGMAP_H #include <algorithm> #include <vector> #include "lldb/Utility/ConstString.h" #include "lldb/Utility/RegularExpression.h" namespace lldb_private { // Templatized uniqued string map. // // This map is useful for mapping unique C string names to values of type T. // Each "const char *" name added must be unique for a given // C string value. ConstString::GetCString() can provide such strings. // Any other string table that has guaranteed unique values can also be used. template <typename T> class UniqueCStringMap { … }; } // namespace lldb_private #endif // LLDB_CORE_UNIQUECSTRINGMAP_H