Driver: Store Option ID field as unsigned to drop dependency on the options
type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89232 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index ae8119d..b83e399 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -365,8 +365,7 @@
// Sob. These is strictly gcc compatible for the time being. Apple
// gcc translates options twice, which means that self-expanding
// options add duplicates.
- options::ID id = A->getOption().getId();
- switch (id) {
+ switch ((options::ID) A->getOption().getId()) {
default:
DAL->append(A);
break;