This is an archive of the discontinued LLVM Phabricator instance.

[mlir] make DiagnosedSilenceableError(LogicalResult) ctor private
ClosedPublic

Authored by ftynse on Nov 2 2022, 8:26 AM.

Details

Summary

Now we have more convenient functions to construct silenceable errors
while emitting diagnostics, and the constructor is ambiguous as it
doesn't tell whether the logical error is silencebale or definite.

Diff Detail

Event Timeline

ftynse created this revision.Nov 2 2022, 8:26 AM
ftynse requested review of this revision.Nov 2 2022, 8:26 AM
Herald added a project: Restricted Project. · View Herald Transcript
ftynse updated this revision to Diff 472625.Nov 2 2022, 8:30 AM

Also forward the message correctly.

nicolasvasilache accepted this revision.Nov 2 2022, 8:34 AM
This revision is now accepted and ready to land.Nov 2 2022, 8:34 AM