1 //===--- Tools.cpp - The LLVM Compiler Driver -------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open
6 // Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Tool abstract base class - implementation of the auxiliary functions.
12 //===----------------------------------------------------------------------===//
16 #include "llvm/ADT/StringExtras.h"
18 void llvmcc::Tool::UnpackValues (const std::string& from,
19 std::vector<std::string>& to) {
20 llvm::SplitString(from, to, ",");