Author: Raphael Isemann Date: 2019-11-28T14:11:35+01:00 New Revision: 42c857aa4783824183d55e8a6ede488d69349806
URL: https://github.com/llvm/llvm-project/commit/42c857aa4783824183d55e8a6ede488d69349806 DIFF: https://github.com/llvm/llvm-project/commit/42c857aa4783824183d55e8a6ede488d69349806.diff LOG: [lldb][NFC] Remove unused STLUtil include and STLUtil.h header Added: Modified: lldb/include/lldb/Interpreter/CommandReturnObject.h Removed: lldb/include/lldb/Core/STLUtils.h ################################################################################ diff --git a/lldb/include/lldb/Core/STLUtils.h b/lldb/include/lldb/Core/STLUtils.h deleted file mode 100644 index f9500aa5594e..000000000000 --- a/lldb/include/lldb/Core/STLUtils.h +++ /dev/null @@ -1,26 +0,0 @@ -//===-- STLUtils.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 liblldb_STLUtils_h_ -#define liblldb_STLUtils_h_ - -#include <string.h> - -#include <map> -#include <ostream> -#include <vector> - - -// C string less than compare function object -struct CStringCompareFunctionObject { - bool operator()(const char *s1, const char *s2) const { - return strcmp(s1, s2) < 0; - } -}; - -#endif // liblldb_STLUtils_h_ diff --git a/lldb/include/lldb/Interpreter/CommandReturnObject.h b/lldb/include/lldb/Interpreter/CommandReturnObject.h index 61e57fb798a1..8af76e07e5ae 100644 --- a/lldb/include/lldb/Interpreter/CommandReturnObject.h +++ b/lldb/include/lldb/Interpreter/CommandReturnObject.h @@ -9,7 +9,6 @@ #ifndef liblldb_CommandReturnObject_h_ #define liblldb_CommandReturnObject_h_ -#include "lldb/Core/STLUtils.h" #include "lldb/Core/StreamFile.h" #include "lldb/Utility/StreamString.h" #include "lldb/Utility/StreamTee.h" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits