summaryrefslogtreecommitdiffstats
path: root/llvm/utils/emacs/tablegen-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to emacs packages for llvm and tablegen mode.Rafael Espindola2015-01-071-6/+14
| | | | | | | | | | | | | * Both files have valid package headers and footers (you can verify with M-x checkdoc). * Fixed style warnings generated by checkdoc. * Fixed a byte-compiler warning in llvm-mode.el. * Ensure that the modes are autoloaded, so users do not need to (require 'llvm-mode) to use them. Patch by Wilfred Hughes. llvm-svn: 225356
* [Emacs] Use spaces rather than tabs for indentation in tablegen-modeAdam Nemet2014-06-241-0/+1
| | | | llvm-svn: 211564
* Remove bad comma from .el file.Bill Wendling2012-02-221-1/+1
| | | | llvm-svn: 151189
* Add Foreach LoopDavid Greene2012-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some data structures to represent for loops. These will be referenced during object processing to do any needed iteration and instantiation. Add foreach keyword support to the lexer. Add a mode to indicate that we're parsing a foreach loop. This allows the value parser to early-out when processing the foreach value list. Add a routine to parse foreach iteration declarations. This is separate from ParseDeclaration because the type of the named value (the iterator) doesn't match the type of the initializer value (the value list). It also needs to add two values to the foreach record: the iterator and the value list. Add parsing support for foreach. Add the code to process foreach loops and create defs based on iterator values. Allow foreach loops to be matched at the top level. When parsing an IDValue check if it is a foreach loop iterator for one of the active loops. If so, return a VarInit for it. Add Emacs keyword support for foreach. Add VIM keyword support for foreach. Add tests to check foreach operation. Add TableGen documentation for foreach. Support foreach with multiple objects. Support non-braced foreach body with one object. Do not require types for the foreach declaration. Assume the iterator type from the iteration list element type. llvm-svn: 151164
* Remove MultidefsDavid Greene2011-10-071-1/+1
| | | | | | | | | | | | | | | | | | | Multidefs are a bit unwieldy and incomplete. Remove them in favor of another mechanism, probably for loops. Revert "Make Test More Thorough" Revert "Fix a typo." Revert "Vim Support for Multidefs" Revert "Emacs Support for Multidefs" Revert "Document Multidefs" Revert "Add a Multidef Test" Revert "Update Test for Multidefs" Revert "Process Multidefs" Revert "Parser Multidef Support" Revert "Lexer Support for Multidefs" Revert "Add Multidef Data Structures" llvm-svn: 141378
* Emacs Support for MultidefsDavid Greene2011-10-051-1/+1
| | | | | | Add Emacs font-lock keyword support for multidefs. llvm-svn: 141237
* Using regexp-opt for keyword regex declarations makes the word lists moreMisha Brukman2010-09-191-8/+6
| | | | | | readable and easier to edit. llvm-svn: 114308
* Set comment string, patch by Johnny Chen!Chris Lattner2009-10-211-0/+2
| | | | llvm-svn: 84743
* 'Previously, the emacs tablegen mode would highlight constants even if Chris Lattner2008-07-231-4/+4
| | | | | | | | | | they appear in words. This would cause things like the "128" in "VR128" to be highlighted. This patch fixes the highlighting by only recognizing constants when they have word breaks around them.' Patch by Stefanus Du Toit! llvm-svn: 53944
* Modified to support comments better.Bill Wendling2007-12-191-53/+42
| | | | llvm-svn: 45192
* Reverting 44702. It wasn't correct to rename them.Bill Wendling2007-12-081-19/+19
| | | | llvm-svn: 44727
* Add better support for keywords.Bill Wendling2007-03-271-21/+40
| | | | llvm-svn: 35386
* Convert llvm.cs.uiuc.edu -> llvm.orgReid Spencer2006-03-141-1/+1
| | | | llvm-svn: 26748
* * Added (X)Emacs mode for TableGen description filesMisha Brukman2003-08-111-0/+114
* Added README that describes how to use the mode files * Associated files with .llx extension with llvm-mode llvm-svn: 7738
OpenPOWER on IntegriCloud