This is an archive of the discontinued LLVM Phabricator instance.

[flang][nfc] Use a message class for "not yet implemented" messages
ClosedPublic

Authored by PeteSteinfeld on May 4 2022, 6:31 PM.

Details

Summary

Following a previous suggestion from Peter Klausler.

Diff Detail

Event Timeline

PeteSteinfeld created this revision.May 4 2022, 6:31 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 4 2022, 6:31 PM
PeteSteinfeld requested review of this revision.May 4 2022, 6:31 PM
rovka accepted this revision.May 5 2022, 2:13 AM
rovka added a subscriber: rovka.

Looks like a nice idea :)

flang/include/flang/Parser/message.h
34–35

Nit: For consistency, you should also add a comment for Todo. Additionally, since you're reformatting anyway, you can try to fit the comments on the same lines as the values, as seen e.g. in the RoundingMode enum (but only if they fit, don't stress too much about it).

This revision is now accepted and ready to land.May 5 2022, 2:13 AM
PeteSteinfeld added inline comments.May 5 2022, 6:45 AM
flang/include/flang/Parser/message.h
34–35

Thanks, @rovka. Great feedback. I'll do it all.

klausler accepted this revision.May 5 2022, 7:07 AM