Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert r141079: tblgen: add preprocessor as a separate mode | Che-Liang Chiou | 2011-10-08 | 1 | -604/+0 |
| | | | | llvm-svn: 141492 | ||||
* | Replace snprintf with raw_string_ostream. | Francois Pichet | 2011-10-04 | 1 | -7/+4 |
| | | | | llvm-svn: 141116 | ||||
* | Unbreak MSVC build. | Francois Pichet | 2011-10-04 | 1 | -0/+4 |
| | | | | llvm-svn: 141093 | ||||
* | tblgen: add preprocessor as a separate mode | Che-Liang Chiou | 2011-10-04 | 1 | -0/+603 |
This patch adds a preprocessor that can expand nested for-loops for saving some copy-n-paste in *.td files. The preprocessor is not yet integrated with TGParser, and so it has no direct effect on *.td inputs. However, you may preprocess an td input (and only preprocess it). To test the proprecessor, type: tblgen -E -o $@ $< llvm-svn: 141079 |