summaryrefslogtreecommitdiff
path: root/include/clang/Driver/Options.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-04 21:53:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-04 21:53:04 +0000
commit30b055f553ffa50ae5413ecf0f0ac8061c58f475 (patch)
tree0ba93f8fab9b96ef8608f5197b8f474347138a1a /include/clang/Driver/Options.h
parent09e94a35925a3b4fccceb405df07ee1153d5cf29 (diff)
downloadclang-30b055f553ffa50ae5413ecf0f0ac8061c58f475.tar.gz
Driver: Option's need to know their ID.
- Also, add Input and Unknown opts to OptTable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Options.h')
-rw-r--r--include/clang/Driver/Options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Driver/Options.h b/include/clang/Driver/Options.h
index ad737635c4..d98a530bbf 100644
--- a/include/clang/Driver/Options.h
+++ b/include/clang/Driver/Options.h
@@ -15,6 +15,8 @@ namespace driver {
namespace options {
enum ID {
NotOption = 0, // This is not an option ID.
+ InputOpt, // Reserved ID for input option.
+ UnknownOpt, // Reserved ID for unknown option.
#define OPTION(ID, KIND, NAME, GROUP, ALIAS, FLAGS, PARAM) ID,
#include "clang/Driver/Options.def"
LastOption