llvm-for-llvmta/tools/clang/test/Sema/Inputs/format-unused-system-args.h

9 lines
227 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// "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)