llvm-6502/tools/llvmc2/Tool.cpp
Mikhail Glushenkov b90cd834ca Code reorg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50722 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-06 16:34:12 +00:00

22 lines
719 B
C++

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