llvm.org GIT mirror llvm / aedbf6f
[vim] Recognize more FileCheck comments Summary: Currently vim syntax highlighting recognizes 'CHECK:' as a special comment, but not CHECK-DAG, CHECK-NOT and other CHECKs. This patch adds rules for these comments. Reviewers: chandlerc, compnerd, rogfer01 Reviewed By: rogfer01 Subscribers: rogfer01, llvm-commits Differential Revision: https://reviews.llvm.org/D43289 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325599 91177308-0d34-0410-b5e6-96231b3b80d8 Mikhail Maltsev 2 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
198198 syn match llvmSpecialComment /;\s*REQUIRES:.*$/
199199 syn match llvmSpecialComment /;\s*RUN:.*$/
200200 syn match llvmSpecialComment /;\s*CHECK:.*$/
201 syn match llvmSpecialComment "\v;\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL):.*$"
201202 syn match llvmSpecialComment /;\s*XFAIL:.*$/
202203
203204 if version >= 508 || !exists("did_c_syn_inits")