This is an archive of the discontinued LLVM Phabricator instance.

Harden/relax clang/test/CodeGen/opt-record-MIR.c test
ClosedPublic

Authored by lebedev.ri on Jul 15 2018, 12:35 PM.

Details

Summary

If the build path is short, Line field can end up fitting on the same line as File,
but the {{.*}} would consume it. Keeping in mind rL293149, i think we can fix it,
while keeping it working when there are and there are not any quotations.
At least this fixes this test for me.

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.Jul 15 2018, 12:35 PM

Simplify regex even more.

anemet accepted this revision.Jul 16 2018, 8:00 PM

LGTM, thanks!

This revision is now accepted and ready to land.Jul 16 2018, 8:00 PM

LGTM, thanks!

Thank you for the review.
(I'll watch the bots, obviously)

This revision was automatically updated to reflect the committed changes.