ccc: Clean up (user level) error handling.
 - ccc now checks for existence of input files (more annoying to test,
   but matches gcc).
 - Fix some test cases.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62378 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Arguments.py b/tools/ccc/ccclib/Arguments.py
index 075d3b9..ed9e1f2 100644
--- a/tools/ccc/ccclib/Arguments.py
+++ b/tools/ccc/ccclib/Arguments.py
@@ -1,3 +1,16 @@
+
+###
+
+class InvalidArgumentsError(ValueError):
+    """InvalidArgumentsError - The driver arguments are invalid or
+    inconsistent."""
+
+class MissingArgumentError(ValueError):
+    """MissingArgumentError - An option required an argument but none
+    was given."""
+
+###
+
 class Option(object):
     """Option - Root option class."""