aboutsummaryrefslogtreecommitdiff
path: root/utils/vim/llvm.vim
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-29 00:14:44 +0000
committerDan Gohman <gohman@apple.com>2009-10-29 00:14:44 +0000
commit6b3bd7bbde5f5be727351dfe1ecf1a0ba1e12a00 (patch)
tree655d427d4758e33950e2c064b1e9f51feb086301 /utils/vim/llvm.vim
parenteeb8ef1f37a8d106a9fb77b9dd6a7ab6866904e5 (diff)
Add indirectbr and blockaddress to the vim syntax highlighting file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/vim/llvm.vim')
-rw-r--r--utils/vim/llvm.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim
index 2cc266bd27..451013ee66 100644
--- a/utils/vim/llvm.vim
+++ b/utils/vim/llvm.vim
@@ -34,7 +34,7 @@ syn keyword llvmStatement phi call select shl lshr ashr va_arg
syn keyword llvmStatement trunc zext sext
syn keyword llvmStatement fptrunc fpext fptoui fptosi uitofp sitofp
syn keyword llvmStatement ptrtoint inttoptr bitcast
-syn keyword llvmStatement ret br switch invoke unwind unreachable
+syn keyword llvmStatement ret br indirectbr switch invoke unwind unreachable
syn keyword llvmStatement malloc alloca free load store getelementptr
syn keyword llvmStatement extractelement insertelement shufflevector
syn keyword llvmStatement extractvalue insertvalue
@@ -56,6 +56,7 @@ syn keyword llvmKeyword noredzone noimplicitfloat naked
syn keyword llvmKeyword module asm align tail to
syn keyword llvmKeyword addrspace section alias sideeffect c gc
syn keyword llvmKeyword target datalayout triple
+syn keyword llvmKeyword blockaddress
" Obsolete keywords.
syn keyword llvmError uninitialized implementation