mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
Syntax highlight the new operators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25e6e9949e
commit
84a6f39a76
@ -31,7 +31,7 @@
|
||||
;; Arithmetic and Logical Operators
|
||||
'("add\\|sub\\|mul\\|div\\|rem\\|and\\|or\\|xor\\|set\\(ne\\|eq\\|lt\\|gt\\|le\\|ge\\)" . font-lock-keyword-face)
|
||||
;; Special instructions
|
||||
'("phi\\|call\\|cast\\|to\\|shl\\|shr\\|va_arg" . font-lock-keyword-face)
|
||||
'("phi\\|call\\|cast\\|to\\|shl\\|shr\\|vaarg\\|vanext" . font-lock-keyword-face)
|
||||
;; Control instructions
|
||||
'("ret\\|br\\|switch\\|invoke" . font-lock-keyword-face)
|
||||
;; Memory operators
|
||||
|
@ -20,7 +20,7 @@ syn keyword llvmStatement add sub mul div rem
|
||||
syn keyword llvmStatement and or xor
|
||||
syn keyword llvmStatement setne seteq setlt setgt setle setge
|
||||
|
||||
syn keyword llvmStatement phi call cast to shl shr va_arg
|
||||
syn keyword llvmStatement phi call cast to shl shr vaarg vanext
|
||||
syn keyword llvmStatement ret br switch invoke
|
||||
syn keyword llvmStatement malloc alloca free load store getelementptr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user