summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen/OptParserEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove option emitter from clang-tblgenReid Kleckner2013-06-181-275/+0
| | | | | | | The CMake build was still using it because I forgot to s/CLANG/LLVM/ in the tablegen() call. The Makefile build is already using llvm-tblgen. llvm-svn: 184192
* Sort the #include lines under utils/...Chandler Carruth2012-12-041-4/+3
| | | | llvm-svn: 169245
* Don't throw exceptions in clang-tblgen by switching to PrintFatalError.Joerg Sonnenberger2012-10-251-1/+1
| | | | | | Add locations in a number of places, where they are available for free. llvm-svn: 166691
* [Options] Add prefixes to options.Michael J. Spencer2012-10-221-2/+79
| | | | | | | | | | | | | | 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
* tblgen: Use LLVM-style RTTI in clang-tblgenSean Silva2012-10-101-8/+8
| | | | llvm-svn: 165649
* Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky2012-09-061-2/+2
| | | | llvm-svn: 163325
* Make clang-tblgen backends functions instead of TableGenBackends.Jakob Stoklund Olesen2012-06-131-4/+9
| | | | | | | | Get rid of a bunch of header files. TableGen output should be unaffected. Patch by Sean Silva! llvm-svn: 158388
* Add the Clang tblgen backends to Clang, and flip the switch to causePeter Collingbourne2011-10-061-0/+194
the build systems to use clang-tblgen. llvm-svn: 141291
OpenPOWER on IntegriCloud