This is an archive of the discontinued LLVM Phabricator instance.

Don't report "main" as missing a prototype in freestanding mode
ClosedPublic

Authored by void on Nov 22 2019, 1:32 AM.

Details

Summary

A user may want to use freestanding mode with the standard "main" entry
point. It's not useful to warn about a missing prototype as it's not
typical to have a prototype for "main".

Diff Detail

Event Timeline

void created this revision.Nov 22 2019, 1:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 22 2019, 1:32 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.Nov 22 2019, 6:09 AM
aaron.ballman added a subscriber: aaron.ballman.

LGTM!

This revision is now accepted and ready to land.Nov 22 2019, 6:09 AM
This revision was automatically updated to reflect the committed changes.