ccc: Give explicit error on @ style argument lists (not yet supported).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63903 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Arguments.py b/tools/ccc/ccclib/Arguments.py
index fee96a8..184e333 100644
--- a/tools/ccc/ccclib/Arguments.py
+++ b/tools/ccc/ccclib/Arguments.py
@@ -1110,7 +1110,6 @@
         args = ArgList(self, argv)
         for pos,a in it:
             i = InputIndex(0, pos)
-            # FIXME: Handle '@'
             if not a: 
                 # gcc's handling of empty arguments doesn't make
                 # sense, but this is not a common use case. :)
@@ -1118,6 +1117,9 @@
                 # We just ignore them here (note that other things may
                 # still take them as arguments).
                 pass
+            elif a[0] == '@':
+                # FIXME: Handle '@'
+                raise InvalidArgumentsError('@ style argument lists are unsupported')
             elif a[0] == '-' and a != '-':
                 args.append(self.lookupOptForArg(i, a, it))
             else: