blob: d0e703a9c1c9d9c52b83c4aaf64768674895b99c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//===--- 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, ",");
}
|