Mikhail Glushenkov | b90cd83 | 2008-05-06 16:34:12 +0000 | [diff] [blame] | 1 | //===--- Tools.cpp - The LLVM Compiler Driver -------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open |
| 6 | // Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // Tool abstract base class - implementation of the auxiliary functions. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "Tool.h" |
| 15 | |
| 16 | #include "llvm/ADT/StringExtras.h" |
| 17 | |
| 18 | void llvmcc::Tool::UnpackValues (const std::string& from, |
| 19 | std::vector<std::string>& to) { |
| 20 | llvm::SplitString(from, to, ","); |
| 21 | } |