commit | 4ed47ccf892de9b725f64d6cfc309f0461105ba5 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Fri Aug 02 20:16:22 2013 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Fri Aug 02 20:16:22 2013 +0000 |
tree | 361ffd66fe0a7150592ca54fb34ad3d7eb31d12a | |
parent | f647b69147c6e640bbccf501783fafc495bbefb2 [diff] |
CC1: Only parse command-line options that have the CC1Option flag. We already reject flags that don't have the CC1Option flag, but we would previously do so after parsing the command-line arguments. Since the option parser now has a parameter for excluding options, we should just use that instead. Differential Revision: http://llvm-reviews.chandlerc.com/D1270 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187668 91177308-0d34-0410-b5e6-96231b3b80d8