summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Return -1 only on failure to execute a program.Mikhail Glushenkov2010-07-271-1/+1
| | | | | | Also fix some comments. llvm-svn: 109499
* Get rid of exceptions in llvmc.Mikhail Glushenkov2010-07-231-35/+51
| | | | | | llvmc can be now compiled with llvm-gcc on Windows. llvm-svn: 109215
* Remove code duplication.Mikhail Glushenkov2010-07-191-26/+21
| | | | llvm-svn: 108718
* Better error reporting for switch_list.Mikhail Glushenkov2010-07-191-9/+42
| | | | llvm-svn: 108714
* llvmc: Add a new option type (switch_list).Mikhail Glushenkov2010-07-191-8/+43
| | | | llvm-svn: 108673
* Make it not an error to specify -O* options several times.Mikhail Glushenkov2010-03-051-19/+57
| | | | | | As in 'llvmc -O2 -O2 test.c'. llvm-svn: 97787
* Trailing whitespace.Mikhail Glushenkov2010-02-231-1/+1
| | | | llvm-svn: 96923
* Implement order-preserving option forwarding.Mikhail Glushenkov2010-02-231-20/+44
| | | | | | | | | | | Needed to correctly handle things like 'llvmc -framework Foo foo.o -framework Bar bar.o' - before this commit all '-framework' options would've been grouped together in the beginning. Due to our dependence on CommandLine this turned out to be a giant hack; we will migrate away from CommandLine eventually. llvm-svn: 96922
* Correct option forwarding: initial implementation.Mikhail Glushenkov2010-02-231-162/+127
| | | | | | Does not work, but the infrastructure changes are in place. llvm-svn: 96920
* New experimental/undocumented feature: 'works_on_empty'.Mikhail Glushenkov2010-02-231-3/+33
| | | | | | For now, just enough support to make -filelist work. llvm-svn: 96918
* Add a way to enable '-opt=foo' forwarding.Mikhail Glushenkov2010-02-231-3/+30
| | | | llvm-svn: 96916
* Revert r96130 ("Forward parameter options as '-option=param'").Mikhail Glushenkov2010-02-151-2/+2
| | | | | | This behaviour must be configurable. llvm-svn: 96210
* Forward parameter options as '-option=parameter'.Mikhail Glushenkov2010-02-131-2/+2
| | | | | | | Some tools do not like the '-option parameter' form. Should this be configurable? llvm-svn: 96130
* Escape double quotes in 'help'.Mikhail Glushenkov2010-01-261-2/+17
| | | | llvm-svn: 94543
* Typo.Mikhail Glushenkov2010-01-011-1/+1
| | | | llvm-svn: 92392
* Make CheckForSuperfluousOptions handle list form of 'switch_on' correctly.Mikhail Glushenkov2010-01-011-5/+18
| | | | llvm-svn: 92391
* Minor simplifications.Mikhail Glushenkov2010-01-011-1/+1
| | | | llvm-svn: 92390
* Better error message.Mikhail Glushenkov2010-01-011-1/+1
| | | | llvm-svn: 92389
* Don't emit trailing semicolon.Daniel Dunbar2009-12-241-1/+1
| | | | llvm-svn: 92133
* Cosmetic issue: more consistent naming.Mikhail Glushenkov2009-12-231-55/+55
| | | | llvm-svn: 91998
* Allow (set_option SwitchOption, true).Mikhail Glushenkov2009-12-231-12/+29
| | | | llvm-svn: 91997
* Make 'set_option' work with list options.Mikhail Glushenkov2009-12-181-10/+23
| | | | | | This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"]) llvm-svn: 91679
* Add a 'set_option' action for use in OptionPreprocessor.Mikhail Glushenkov2009-12-171-16/+64
| | | | llvm-svn: 91594
* Refactoring, no functionality change.Mikhail Glushenkov2009-12-171-120/+149
| | | | llvm-svn: 91593
* s/TokenizeCmdline/TokenizeCmdLine/Mikhail Glushenkov2009-12-171-14/+13
| | | | llvm-svn: 91592
* Convert llvmc tests to FileCheck.Mikhail Glushenkov2009-12-151-1/+1
| | | | llvm-svn: 91420
* Support hook invocation from 'append_cmd'.Mikhail Glushenkov2009-12-151-37/+62
| | | | llvm-svn: 91419
* Validate the generated C++ code in llvmc tests.Mikhail Glushenkov2009-12-151-19/+20
| | | | | | | | | | Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional llvm-svn: 91404
* Allow $CALL(Hook, '$INFILE') for non-join tools.Mikhail Glushenkov2009-12-151-37/+74
| | | | llvm-svn: 91402
* Simplify a bit.Mikhail Glushenkov2009-12-071-13/+5
| | | | llvm-svn: 90785
* Throw 'const char*' instead of 'std::string'.Mikhail Glushenkov2009-12-071-11/+10
| | | | llvm-svn: 90784
* Deprecate 'unpack_values'.Mikhail Glushenkov2009-12-071-45/+41
| | | | | | Use 'forward_values' + 'comma_separated' instead. llvm-svn: 90774
* Implement 'forward_value' and 'forward_transformed_value'.Mikhail Glushenkov2009-12-071-28/+143
| | | | llvm-svn: 90770
* Refactoring, no functionality change.Mikhail Glushenkov2009-12-071-98/+163
| | | | llvm-svn: 90764
* Forward -save-temps to llvm-gcc.Mikhail Glushenkov2009-12-011-0/+3
| | | | llvm-svn: 90214
* mark some constant global const.Chris Lattner2009-11-031-7/+8
| | | | llvm-svn: 85910
* 80-col violation.Mikhail Glushenkov2009-10-271-1/+2
| | | | llvm-svn: 85215
* Make 'unset_option' work on list options.Mikhail Glushenkov2009-10-221-6/+6
| | | | llvm-svn: 84827
* Implement any_[not_]empty and list versions of switch_on and [not_]empty.Mikhail Glushenkov2009-10-211-60/+146
| | | | | | Useful for OptionPreprocessor. llvm-svn: 84728
* More refactoring...Mikhail Glushenkov2009-10-191-46/+55
| | | | llvm-svn: 84537
* Refactoring, no functionality change.Mikhail Glushenkov2009-10-181-69/+158
| | | | llvm-svn: 84450
* First draft of the OptionPreprocessor.Mikhail Glushenkov2009-10-171-32/+191
| | | | | | More to follow... llvm-svn: 84352
* Disallow multiple instances of PluginPriority.Mikhail Glushenkov2009-10-171-4/+10
| | | | | | | Several instances of PluginPriority in a single file most probably signifies a programming error. llvm-svn: 84350
* Omit the 'out_file_index != -1' check when possible.Mikhail Glushenkov2009-10-091-6/+54
| | | | llvm-svn: 83619
* Input files should go before all other options.Mikhail Glushenkov2009-10-081-14/+24
| | | | | | Important, for example, when calling 'gcc a.o b.o c.o -lD -lE -lF'. llvm-svn: 83524
* Add a way to query the number of input files.Mikhail Glushenkov2009-09-281-5/+21
| | | | llvm-svn: 82957
* A bit prettier formatting.Mikhail Glushenkov2009-09-281-3/+3
| | | | llvm-svn: 82955
* Use raw_ostream::indent instead of passing strings.Mikhail Glushenkov2009-09-211-145/+163
| | | | llvm-svn: 82456
* Distinguish between 'empty' and empty DAG marker.Mikhail Glushenkov2009-09-101-1/+1
| | | | llvm-svn: 81448
* Add a logical 'not' operator to llvmc's TableGen dialect.Mikhail Glushenkov2009-09-101-0/+12
| | | | llvm-svn: 81447
OpenPOWER on IntegriCloud