Page MenuHomePhabricator

[ProfileData] Migrate SampleProf{Reader,Writer} functions from error_code/ErrorOr to Error/Expected
Needs ReviewPublic

Authored by MaskRay on Apr 5 2019, 1:15 AM.

Details

Summary

This fixes one FIXME (moving away from std::error_code) left by D20592
and fixes some inadvertently discarded return values. They were caught
because Error is marked as LLVM_NODISCARD.

Diff Detail

Event Timeline

MaskRay created this revision.Apr 5 2019, 1:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2019, 1:15 AM