This is an archive of the discontinued LLVM Phabricator instance.

[flang][Runtime] Use proper prototypes in Fortran_main. NFCI
ClosedPublic

Authored by rovka on May 16 2022, 2:08 AM.

Details

Summary

This is compiled as C code, so it's a good idea to be explicit about the
prototype. Clang complains about this when -Wstrict-prototypes is used.

Diff Detail

Event Timeline

rovka created this revision.May 16 2022, 2:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2022, 2:08 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
rovka requested review of this revision.May 16 2022, 2:08 AM
This revision is now accepted and ready to land.May 17 2022, 3:28 AM
awarzynski accepted this revision.May 17 2022, 6:06 AM

Makes sense to me, thanks!

schweitz accepted this revision.May 17 2022, 1:32 PM