This is an archive of the discontinued LLVM Phabricator instance.

[Test] Fix undef var in catch-undef-behavior.c
ClosedPublic

Authored by thopre on Dec 15 2020, 3:18 PM.

Details

Summary

Commit 9e52c43090f8cd980167bbd2719878ae36bcf6b5 removed the directive
defining LINE_1600 but left a string substitution to that variable in a
CHECK-NOT directive. This will make that CHECK-NOT directive always fail
to match, no matter the string.

This commit follows the pattern done in
9e52c43090f8cd980167bbd2719878ae36bcf6b5 of simplifying the CHECK-NOT to
only look for the function name and the opening parenthesis, thereby not
requiring the LINE_1600 variable.

Diff Detail

Event Timeline

thopre requested review of this revision.Dec 15 2020, 3:18 PM
thopre created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 3:18 PM
rnk accepted this revision.Dec 16 2020, 9:52 AM

lgtm

This revision is now accepted and ready to land.Dec 16 2020, 9:52 AM
This revision was landed with ongoing or failed builds.Dec 16 2020, 2:39 PM
This revision was automatically updated to reflect the committed changes.