This is an archive of the discontinued LLVM Phabricator instance.

Add `const` to `dump` method of `OpFoldResult`.
ClosedPublic

Authored by mravishankar on Oct 4 2022, 11:34 PM.

Details

Summary

While most dump methods are marked const, some arent marked as
const. Adding const to OpFoldResult here since this was
encountered as an issue while debugging (doing dump within a debug
console threw an error indicating the method should be marked
const).

Diff Detail

Event Timeline

mravishankar created this revision.Oct 4 2022, 11:34 PM
Herald added a project: Restricted Project. · View Herald Transcript
mravishankar requested review of this revision.Oct 4 2022, 11:34 PM
ftynse accepted this revision.Oct 5 2022, 12:46 AM
This revision is now accepted and ready to land.Oct 5 2022, 12:46 AM
This revision was landed with ongoing or failed builds.Oct 5 2022, 10:32 AM
This revision was automatically updated to reflect the committed changes.