mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
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
This commit is contained in:
parent
5fad526ea2
commit
df691a0c97
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user