This is an archive of the discontinued LLVM Phabricator instance.

[demangler] improve test harness
ClosedPublic

Authored by urnathan on Jan 25 2022, 5:10 AM.

Details

Reviewers
ChuanqiXu
aaron.ballman
Group Reviewers
Restricted Project
Commits
rG52c7faeae8fc: [demangler] improve test harness
Summary

The demangler test harness is a little unclear. The failed demangling message always causes me to think about 'reality', changing to a simple 'Found' seems clearer.

The expected-to-fail tests abort as soon as one passes, rather than continue, and then abort if any passed. This changes that loop to fail at the end, in a similar manner to the expected-to-work loop.

I've not addressed the obvious clang-format fails of the entire file :)

Diff Detail

Event Timeline

urnathan requested review of this revision.Jan 25 2022, 5:10 AM
urnathan created this revision.
ChuanqiXu accepted this revision.Jan 25 2022, 6:20 PM

I don't familiar with CXXABI. But I thought this one should be NFC and good.

This revision is now accepted and ready to land.Jan 25 2022, 6:20 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2022, 4:59 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript