diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-09-25 23:12:48 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-09-25 23:12:48 +0000 |
commit | 663117ab56390a18f4157ca84c9a92e5c6cad054 (patch) | |
tree | 7426028dd2920b7aba63b67b7c1f2342c5e16cbe /lib/Driver/DriverOptions.cpp | |
parent | afbb66262948732dc0f9617ffd80768c7145e0c7 (diff) |
[Options] Store the option ID in OptTable::Info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/DriverOptions.cpp')
-rw-r--r-- | lib/Driver/DriverOptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/DriverOptions.cpp b/lib/Driver/DriverOptions.cpp index 715819d04b..f9d36cfb5e 100644 --- a/lib/Driver/DriverOptions.cpp +++ b/lib/Driver/DriverOptions.cpp @@ -17,7 +17,7 @@ using namespace clang::driver::options; static const OptTable::Info InfoTable[] = { #define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \ HELPTEXT, METAVAR) \ - { NAME, HELPTEXT, METAVAR, Option::KIND##Class, PARAM, FLAGS, \ + { NAME, HELPTEXT, METAVAR, OPT_##ID, Option::KIND##Class, PARAM, FLAGS, \ OPT_##GROUP, OPT_##ALIAS }, #include "clang/Driver/Options.inc" }; |