diff options
author | James Molloy <james.molloy@arm.com> | 2012-05-01 14:57:16 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2012-05-01 14:57:16 +0000 |
commit | a3c85b862985797aaad098b87bb0046fcdc1a7d5 (patch) | |
tree | 98700fbbc01f11ebe64c2c55bb9f0d680dfad356 /clang/lib/Driver/OptTable.cpp | |
parent | cb3e98cf44c01b3ad592c195ac04de047a5930cc (diff) | |
download | llvm-a3c85b862985797aaad098b87bb0046fcdc1a7d5.zip llvm-a3c85b862985797aaad098b87bb0046fcdc1a7d5.tar.gz llvm-a3c85b862985797aaad098b87bb0046fcdc1a7d5.tar.bz2 |
Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver.
Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/
llvm-svn: 155916
Diffstat (limited to 'clang/lib/Driver/OptTable.cpp')
-rw-r--r-- | clang/lib/Driver/OptTable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Driver/OptTable.cpp b/clang/lib/Driver/OptTable.cpp index 4f5390b..a3e38b2 100644 --- a/clang/lib/Driver/OptTable.cpp +++ b/clang/lib/Driver/OptTable.cpp @@ -181,6 +181,8 @@ Option *OptTable::CreateOption(unsigned id) const { } if (info.Flags & Unsupported) Opt->setUnsupported(true); + if (info.Flags & CC1Option) + Opt->setIsCC1Option(true); return Opt; } |