[PATCH] D101135: [Utils][vim] Highlight CHECK-EMPTY: & CHECK-COUNT: directives
Senran Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 23:08:44 PDT 2021
zsrkmyn created this revision.
zsrkmyn added reviewers: awarzynski, MaskRay, porglezomp.
zsrkmyn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101135
Files:
llvm/utils/vim/syntax/llvm.vim
Index: llvm/utils/vim/syntax/llvm.vim
===================================================================
--- llvm/utils/vim/syntax/llvm.vim
+++ llvm/utils/vim/syntax/llvm.vim
@@ -234,7 +234,8 @@
syn match llvmSpecialComment /;\s*RUN:.*$/
syn match llvmSpecialComment /;\s*ALLOW_RETRIES:.*$/
syn match llvmSpecialComment /;\s*CHECK:.*$/
-syn match llvmSpecialComment "\v;\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL):.*$"
+syn match llvmSpecialComment ";\s*CHECK-EMPTY:\s*$"
+syn match llvmSpecialComment "\v;\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL|COUNT-\d+):.*$"
syn match llvmSpecialComment /;\s*XFAIL:.*$/
if version >= 508 || !exists("did_c_syn_inits")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101135.339886.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/247b7c2e/attachment.bin>
More information about the llvm-commits
mailing list