aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/OptTable.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-09-25 23:12:48 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-09-25 23:12:48 +0000
commit663117ab56390a18f4157ca84c9a92e5c6cad054 (patch)
tree7426028dd2920b7aba63b67b7c1f2342c5e16cbe /lib/Driver/OptTable.cpp
parentafbb66262948732dc0f9617ffd80768c7145e0c7 (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/OptTable.cpp')
-rw-r--r--lib/Driver/OptTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/OptTable.cpp b/lib/Driver/OptTable.cpp
index 3ebc6d8725..a6d3cb3149 100644
--- a/lib/Driver/OptTable.cpp
+++ b/lib/Driver/OptTable.cpp
@@ -138,7 +138,7 @@ Option *OptTable::CreateOption(unsigned id) const {
const Option *Group = getOption(info.GroupID);
const Option *Alias = getOption(info.AliasID);
- Option *Opt = new Option(&info, id, Group, Alias);
+ Option *Opt = new Option(&info, Group, Alias);
return Opt;
}