llvm-project/clang/test/Sema/Inputs/format-unused-system-args.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
227 B
C
Raw Normal View History

// "System header" for testing that -Wformat-extra-args does not apply to
// arguments specified in system headers.
#define PRINT2(fmt, a1, a2) \
printf((fmt), (a1), (a2))
#define PRINT1(fmt, a1) \
PRINT2((fmt), (a1), 0)