This is an archive of the discontinued LLVM Phabricator instance.

Enable -Werror-implicit-function-declaration by default (NFC)
ClosedPublic

Authored by mehdi_amini on Nov 3 2020, 4:07 PM.

Details

Summary

This is useful in C source files where it is easy for a typo to be
silently assumed by the compiler to be an implicit declaration.

Diff Detail

Event Timeline

mehdi_amini created this revision.Nov 3 2020, 4:07 PM
mehdi_amini requested review of this revision.Nov 3 2020, 4:07 PM
rriddle accepted this revision.Nov 3 2020, 4:33 PM
This revision is now accepted and ready to land.Nov 3 2020, 4:33 PM

Thank you - TIL! This has caught me but I didn't know there was a warning flag for it.

stellaraccident accepted this revision.Nov 3 2020, 10:17 PM