This is an archive of the discontinued LLVM Phabricator instance.

[clang] Enable selectively turning on/off format-insufficient-args warning
ClosedPublic

Authored by jkorous on Sep 4 2020, 6:31 PM.

Diff Detail

Event Timeline

jkorous created this revision.Sep 4 2020, 6:31 PM
jkorous requested review of this revision.Sep 4 2020, 6:31 PM

Could you add a test-case that verifies that passing -Wno-format-insufficient-args suppresses warn_printf_insufficient_data_args?

jkorous updated this revision to Diff 292880.Sep 18 2020, 12:54 PM

Added test

Friendly ping

arphaman accepted this revision.Sep 28 2020, 11:00 AM

LGTM, Thanks!

This revision is now accepted and ready to land.Sep 28 2020, 11:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2020, 4:25 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Had to fix the order of expected warnings in warning-wall.c
6fd8c69049a8 [clang] Update warning-wall.c test