summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/CC1AsOptions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cc1as: consolidate option flags with cc1 and eliminate duplicationAlp Toker2014-07-091-44/+0
| | | | | | | | | | The clang -cc1as options are nearly a strict subset of -cc1. Instead of duplicating the definitions and documentation, let's go ahead and share the definitions in a similar way the current handling of combined driver and frontend flags, eliminating some of the vestigial legacy surrounding the assembler subcommand. llvm-svn: 212620
* Remove the SUPPORT_ALIASARGS defineHans Wennborg2013-08-011-2/+0
| | | | | | It is not needed after LLVM r187546. llvm-svn: 187550
* Option parsing tables: pick up AliasArgs from the OPTION macro.Hans Wennborg2013-07-311-2/+4
| | | | | | | | | This depends on LLVM r187537. The SUPPORT_ALIASARGS macro will be removed once all option parsing clients have been updated. llvm-svn: 187538
* Option parsing tables: remove some unnecessary #definesHans Wennborg2013-07-171-5/+2
| | | | | | Also make some strings static and add missing #undef's llvm-svn: 186518
* Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).Craig Topper2013-07-151-2/+2
| | | | llvm-svn: 186300
* [Driver] Refactor clang driver to use LLVM's Option libraryReid Kleckner2013-06-141-3/+3
| | | | | | | | | | | | | | | | | | The big changes are: - Deleting Driver/(Arg|Opt)* - Rewriting includes to llvm/Option/ and re-sorting - 'using namespace llvm::opt' in clang::driver - Fixing the autoconf build by adding option everywhere As discussed in the review, this change includes using directives in header files. I'll make follow up changes to remove those in favor of name specifiers. Reviewers: espindola Differential Revision: http://llvm-reviews.chandlerc.com/D975 llvm-svn: 183989
* Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth2012-12-041-1/+1
| | | | | | | | | | | | | uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237
* [Options] Add prefixes to options.Michael J. Spencer2012-10-221-3/+11
| | | | | | | | | | | | | | Each option has a set of prefixes. When matching an argument such as -funroll-loops. First the leading - is removed as it is a prefix. Then a lower_bound search for "funroll-loops" is done against the option table by option name. From there each option prefix + option name combination is tested against the argument. This allows us to support Microsoft style options where both / and - are valid prefixes. It also simplifies the cases we already have where options come in both - and -- forms. Almost every option for gnu-ld happens to have this form. llvm-svn: 166444
* [Options] Store the option ID in OptTable::Info.Michael J. Spencer2012-09-251-1/+1
| | | | llvm-svn: 164644
* Pack struct better.Benjamin Kramer2011-10-221-1/+1
| | | | llvm-svn: 142725
* Driver/MC: Add 'clang -cc1as' integrated assembler tool, currently accepts ↵Daniel Dunbar2010-05-201-0/+39
approximately the same interface as 'llvm-mc'. llvm-svn: 104239
OpenPOWER on IntegriCloud