summaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-03 21:56:01 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-03 21:56:01 +0000
commit1602e5874548954eefe29af19b4ab6347f2f9d9a (patch)
treeb107c2ea0539b36ab1ef48724aea1ec925ecfb8e /utils/vim
parent6adbfa381528b1042c7f86b0aa59308485509560 (diff)
AsmParser: Recognize DW_TAG_* constants
Recognize `DW_TAG_` constants in assembly, and output it by default for `GenericDebugNode`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/llvm.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim
index b7411c3cd31..57c71331105 100644
--- a/utils/vim/llvm.vim
+++ b/utils/vim/llvm.vim
@@ -77,6 +77,7 @@ syn match llvmIdentifier /[%@][-a-zA-Z$._][-a-zA-Z$._0-9]*/
syn match llvmIdentifier /![-a-zA-Z$._][-a-zA-Z$._0-9]*\ze\s*$/
syn match llvmIdentifier /![-a-zA-Z$._][-a-zA-Z$._0-9]*\ze\s*[=!]/
syn match llvmType /!\zs\a\+\ze\s*(/
+syn match llvmConstant /\<DW_TAG_[a-z_]\+\>/
" Syntax-highlight dejagnu test commands.
syn match llvmSpecialComment /;\s*RUN:.*$/