blob: d0e703a9c1c9d9c52b83c4aaf64768674895b99c [file] [log] [blame]
Mikhail Glushenkovb90cd832008-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
18void llvmcc::Tool::UnpackValues (const std::string& from,
19 std::vector<std::string>& to) {
20 llvm::SplitString(from, to, ",");
21}