PeepholeOptimizer: make parameter ref to SmallPtrSetImpl
[oota-llvm.git] / utils / emacs / tablegen-mode.el
index 3853ce66a2850ad6d560a01f9c27e691cdd45677..c0ae75100bfb85bf945292bccc9d2ee8dc36c657 100644 (file)
@@ -13,7 +13,7 @@
 
 (defvar tablegen-font-lock-keywords
   (let ((kw (regexp-opt '("class" "defm" "def" "field" "include" "in"
-                         "let" "multiclass")
+                         "let" "multiclass" "foreach")
                         'words))
         (type-kw (regexp-opt '("bit" "bits" "code" "dag" "int" "list" "string")
                              'words))
   (set-syntax-table tablegen-mode-syntax-table)
   (make-local-variable 'comment-start)
   (setq comment-start "//")
+  (setq indent-tabs-mode nil)
   (run-hooks 'tablegen-mode-hook))       ; Finally, this permits the user to
                                          ;   customize the mode with a hook.