[llvm] a8db144 - emacs: Add callbr to keyword list

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 12:20:22 PST 2020


Author: Matt Arsenault
Date: 2020-11-13T15:20:06-05:00
New Revision: a8db144169279332db59d30051f249efa0201ab3

URL: https://github.com/llvm/llvm-project/commit/a8db144169279332db59d30051f249efa0201ab3
DIFF: https://github.com/llvm/llvm-project/commit/a8db144169279332db59d30051f249efa0201ab3.diff

LOG: emacs: Add callbr to keyword list

Added: 
    

Modified: 
    llvm/utils/emacs/llvm-mode.el

Removed: 
    


################################################################################
diff  --git a/llvm/utils/emacs/llvm-mode.el b/llvm/utils/emacs/llvm-mode.el
index 0230f86dc2ae..801b00c15247 100644
--- a/llvm/utils/emacs/llvm-mode.el
+++ b/llvm/utils/emacs/llvm-mode.el
@@ -66,7 +66,7 @@
    ;; Special instructions
    `(,(regexp-opt '("phi" "tail" "call" "select" "to" "shl" "lshr" "ashr" "fcmp" "icmp" "va_arg" "landingpad" "freeze") 'symbols) . font-lock-keyword-face)
    ;; Control instructions
-   `(,(regexp-opt '("ret" "br" "switch" "invoke" "resume" "unwind" "unreachable" "indirectbr") 'symbols) . font-lock-keyword-face)
+   `(,(regexp-opt '("ret" "br" "switch" "invoke" "resume" "unwind" "unreachable" "indirectbr" "callbr") 'symbols) . font-lock-keyword-face)
    ;; Memory operators
    `(,(regexp-opt '("malloc" "alloca" "free" "load" "store" "getelementptr" "fence" "cmpxchg" "atomicrmw") 'symbols) . font-lock-keyword-face)
    ;; Casts


        


More information about the llvm-commits mailing list