blob: eea0145d4aa6ca9bbfda15646ca01396635d312e [file] [log] [blame]
Mikhail Glushenkova8276c52008-05-06 16:34:12 +00001//===--- 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
Mikhail Glushenkovd4918dd2008-05-06 18:08:59 +000018void llvmc::Tool::UnpackValues (const std::string& from,
Mikhail Glushenkova8276c52008-05-06 16:34:12 +000019 std::vector<std::string>& to) {
20 llvm::SplitString(from, to, ",");
21}