Code reorg
[oota-llvm.git] / tools / llvmc2 / Tool.cpp
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 }