diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:13:45 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:13:45 +0000 |
commit | d83038c9605c84e92b6052500405ac3903f0d6f1 (patch) | |
tree | b71d384758631a4b97db7e13296641a9b4b36e0c /tools/llvmc2 | |
parent | 978d498e401c292b6be5248abaf828b66739bcb8 (diff) | |
download | llvm-d83038c9605c84e92b6052500405ac3903f0d6f1.tar.gz llvm-d83038c9605c84e92b6052500405ac3903f0d6f1.tar.bz2 llvm-d83038c9605c84e92b6052500405ac3903f0d6f1.tar.xz |
Remove the UnpackValues() function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2')
-rw-r--r-- | tools/llvmc2/AutoGenerated.cpp | 1 | ||||
-rw-r--r-- | tools/llvmc2/Tool.cpp | 21 | ||||
-rw-r--r-- | tools/llvmc2/Tool.h | 6 |
3 files changed, 1 insertions, 27 deletions
diff --git a/tools/llvmc2/AutoGenerated.cpp b/tools/llvmc2/AutoGenerated.cpp index 9b0255cefc..e01702653a 100644 --- a/tools/llvmc2/AutoGenerated.cpp +++ b/tools/llvmc2/AutoGenerated.cpp @@ -15,6 +15,7 @@ #include "CompilationGraph.h" #include "Tool.h" +#include "llvm/ADT/StringExtras.h" #include "llvm/Support/CommandLine.h" #include <stdexcept> diff --git a/tools/llvmc2/Tool.cpp b/tools/llvmc2/Tool.cpp deleted file mode 100644 index eea0145d4a..0000000000 --- a/tools/llvmc2/Tool.cpp +++ /dev/null @@ -1,21 +0,0 @@ -//===--- Tools.cpp - The LLVM Compiler Driver -------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open -// Source License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// Tool abstract base class - implementation of the auxiliary functions. -// -//===----------------------------------------------------------------------===// - -#include "Tool.h" - -#include "llvm/ADT/StringExtras.h" - -void llvmc::Tool::UnpackValues (const std::string& from, - std::vector<std::string>& to) { - llvm::SplitString(from, to, ","); -} diff --git a/tools/llvmc2/Tool.h b/tools/llvmc2/Tool.h index 1cac7eed69..122c887ca9 100644 --- a/tools/llvmc2/Tool.h +++ b/tools/llvmc2/Tool.h @@ -44,12 +44,6 @@ namespace llvmc { virtual bool IsLast() const = 0; virtual bool IsJoin() const = 0; - - // Helper function that is called by the auto-generated code - // Splits strings of the form ",-foo,-bar,-baz" - // TOFIX: find a better name - static void UnpackValues (std::string const& from, - std::vector<std::string>& to); }; // Join tools have an input file list associated with them. |