Re-landing changes to use ArrayRef instead of SmallVectorImpl, and new API test.
authorChris Bieneman <beanz@apple.com>
Tue, 27 Jan 2015 22:21:06 +0000 (22:21 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 27 Jan 2015 22:21:06 +0000 (22:21 +0000)
commit4990e83b7bdc50caba375f37ece7f4c04000640c
treee1d5e9d394079e69e1c21b63f9591f7627b9db49
parent556d1a3b80ddedf8d68bf1293fba755f688e83b7
Re-landing changes to use ArrayRef instead of SmallVectorImpl, and new API test.

This contains the changes from r227148 & r227154, and also fixes to the test case to properly clean up the stack options.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227255 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/CommandLine.h
lib/Support/CommandLine.cpp
unittests/Support/CommandLineTest.cpp