[llvm] 7faabe5 - [Utils][vim] Highlight CHECK-EMPTY: & CHECK-COUNT: directives
Cassie Jones via llvm-commits
llvm-commits at lists.llvm.org
Tue May 18 20:42:16 PDT 2021
Author: Senran Zhang
Date: 2021-05-18T23:42:23-04:00
New Revision: 7faabe5fc91ef18b95780dabbc3dcdc906c961ea
URL: https://github.com/llvm/llvm-project/commit/7faabe5fc91ef18b95780dabbc3dcdc906c961ea
DIFF: https://github.com/llvm/llvm-project/commit/7faabe5fc91ef18b95780dabbc3dcdc906c961ea.diff
LOG: [Utils][vim] Highlight CHECK-EMPTY: & CHECK-COUNT: directives
Reviewed By: porglezomp
Differential Revision: https://reviews.llvm.org/D101135
Added:
Modified:
llvm/utils/vim/syntax/llvm.vim
Removed:
################################################################################
diff --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim
index 684a42558ca1..e4c570066df9 100644
--- a/llvm/utils/vim/syntax/llvm.vim
+++ b/llvm/utils/vim/syntax/llvm.vim
@@ -235,7 +235,8 @@ syn match llvmSpecialComment /;\s*REQUIRES:.*$/
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")
More information about the llvm-commits
mailing list