[PATCH] D58061: Fix a few tests that were missing ':' on CHECK lines and weren't testing anything.

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 11 12:25:11 PST 2019


probinson added a comment.

There has been some progress recently on better FileCheck diagnosis of likely test-writing issues, although to date it mostly requires the human to ask "what is going on here?" explicitly.  I can see adding a check to detect the missing-colon-on-otherwise-valid-directive case (including the usual suffixes), and my guess is that isn't too likely to cause excessive churn.  The deeper we go into typo-detection the more likely we are to trip over false positives, but this small step seems like a worthy change.
Happy to review such a patch, or somebody can file a PR and CC me.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58061/new/

https://reviews.llvm.org/D58061





More information about the cfe-commits mailing list