Driver: Stub out Arg implementations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66088 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Arg.cpp b/lib/Driver/Arg.cpp
new file mode 100644
index 0000000..ad3c16d
--- /dev/null
+++ b/lib/Driver/Arg.cpp
@@ -0,0 +1,72 @@
+//===--- Arg.cpp - Argument Implementations -----------------------------*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/Driver/Arg.h"
+
+using namespace clang::driver;
+
+Arg::Arg(ArgClass _Kind, const Option *_Opt, unsigned _Index)
+ : Kind(_Kind),
+ Opt(_Opt),
+ Index(_Index)
+{
+}
+
+Arg::~Arg() { }
+
+PositionalArg::PositionalArg(const Option *Opt, unsigned Index)
+ : Arg(PositionalClass, Opt, Index) {
+}
+
+void PositionalArg::render(const ArgList &Args, ArgStringList &Output) const {
+ assert(0 && "FIXME: Implement");
+}
+
+const char *PositionalArg::getValue(const ArgList &Args, unsigned N) const {
+ assert(0 && "FIXME: Implement");
+}
+
+JoinedArg::JoinedArg(const Option *Opt, unsigned Index)
+ : Arg(JoinedClass, Opt, Index) {
+}
+
+void JoinedArg::render(const ArgList &Args, ArgStringList &Output) const {
+ assert(0 && "FIXME: Implement");
+}
+
+const char *JoinedArg::getValue(const ArgList &Args, unsigned N) const {
+ assert(0 && "FIXME: Implement");
+}
+
+CommaJoinedArg::CommaJoinedArg(const Option *Opt, unsigned Index,
+ unsigned _NumValues)
+ : Arg(CommaJoinedClass, Opt, Index), NumValues(_NumValues) {
+}
+
+void CommaJoinedArg::render(const ArgList &Args, ArgStringList &Output) const {
+ assert(0 && "FIXME: Implement");
+}
+
+const char *CommaJoinedArg::getValue(const ArgList &Args, unsigned N) const {
+ assert(0 && "FIXME: Implement");
+}
+
+JoinedAndSeparateArg::JoinedAndSeparateArg(const Option *Opt, unsigned Index)
+ : Arg(JoinedAndSeparateClass, Opt, Index) {
+}
+
+void JoinedAndSeparateArg::render(const ArgList &Args,
+ ArgStringList &Output) const {
+ assert(0 && "FIXME: Implement");
+}
+
+const char *JoinedAndSeparateArg::getValue(const ArgList &Args,
+ unsigned N) const {
+ assert(0 && "FIXME: Implement");
+}