This is an archive of the discontinued LLVM Phabricator instance.

Use -NOT prefix instead of adding `not` to FileCheck.
ClosedPublic

Authored by ruiu on Jun 20 2017, 6:15 PM.

Details

Summary

If we want to make sure that a particular string is not in an output,
the regular way of doing it is to add -NOT prefix instead of checking
if FileCheck resulted in an error.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Jun 20 2017, 6:15 PM
yamaguchi accepted this revision.Jun 20 2017, 8:34 PM

LGTM! Thanks for the fix.

This revision is now accepted and ready to land.Jun 20 2017, 8:34 PM
This revision was automatically updated to reflect the committed changes.