diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-11-03 15:56:06 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-11-03 15:56:06 +0000 |
commit | a25f90d69889809e37aad11573cf755bc537cc3a (patch) | |
tree | be1fe2a2ec74a29c29ec5c9dfa76f5956b10daf0 /llvm/utils/vim/syntax/llvm.vim | |
parent | 21d8be9a4ed382cfa4dc8f7652b307730f2d3f93 (diff) | |
download | bcm5719-llvm-a25f90d69889809e37aad11573cf755bc537cc3a.tar.gz bcm5719-llvm-a25f90d69889809e37aad11573cf755bc537cc3a.zip |
vim: special case the CHECK prefix
A large number of tests in the LLVM tree use the default (CHECK) prefix
to indicate checked expressions via FileCheck. Highlight it as a
special comment. Although this wont get all the instances of the
checked patters, it is strictly better than the current state.
llvm-svn: 285927
Diffstat (limited to 'llvm/utils/vim/syntax/llvm.vim')
-rw-r--r-- | llvm/utils/vim/syntax/llvm.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim index 8fb22365cdd..3a2b8285350 100644 --- a/llvm/utils/vim/syntax/llvm.vim +++ b/llvm/utils/vim/syntax/llvm.vim @@ -192,6 +192,7 @@ syn match llvmConstant /\<DIFlag[A-Za-z]\+\>/ syn match llvmSpecialComment /;\s*PR\d*\s*$/ syn match llvmSpecialComment /;\s*REQUIRES:.*$/ syn match llvmSpecialComment /;\s*RUN:.*$/ +syn match llvmSpecialComment /;\s*CHECK:.*$/ syn match llvmSpecialComment /;\s*XFAIL:.*$/ if version >= 508 || !exists("did_c_syn_inits") |