summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/TGPreprocessor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert r141079: tblgen: add preprocessor as a separate modeChe-Liang Chiou2011-10-081-604/+0
| | | | llvm-svn: 141492
* Replace snprintf with raw_string_ostream.Francois Pichet2011-10-041-7/+4
| | | | llvm-svn: 141116
* Unbreak MSVC build.Francois Pichet2011-10-041-0/+4
| | | | llvm-svn: 141093
* tblgen: add preprocessor as a separate modeChe-Liang Chiou2011-10-041-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
OpenPOWER on IntegriCloud