This is an archive of the discontinued LLVM Phabricator instance.

[vim] Recognize more FileCheck comments
ClosedPublic

Authored by miyuki on Feb 14 2018, 6:21 AM.

Details

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.

Diff Detail

Event Timeline

miyuki created this revision.Feb 14 2018, 6:21 AM

Can you coalesce them in a single regular expression, like /;\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL): (not sure if this is the right syntax but I hope you got the idea.

miyuki updated this revision to Diff 134220.Feb 14 2018, 6:40 AM

Coalesced into a single regular expression

rogfer01 accepted this revision.Feb 20 2018, 9:15 AM

LGTM now. Thanks!

This revision is now accepted and ready to land.Feb 20 2018, 9:15 AM
This revision was automatically updated to reflect the committed changes.