2008-03-23 08:57:20 +00:00
|
|
|
//===--- 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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2008-05-06 16:34:12 +00:00
|
|
|
// Tool abstract base class - implementation of the auxiliary functions.
|
2008-03-23 08:57:20 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
#include "Tool.h"
|
2008-03-23 08:57:20 +00:00
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
#include "llvm/ADT/StringExtras.h"
|
2008-03-23 08:57:20 +00:00
|
|
|
|
2008-05-06 16:34:12 +00:00
|
|
|
void llvmcc::Tool::UnpackValues (const std::string& from,
|
|
|
|
std::vector<std::string>& to) {
|
|
|
|
llvm::SplitString(from, to, ",");
|
|
|
|
}
|