clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp: Tweak not to depend on out-of-tree header <cstdarg>.

llvm-svn: 250986
This commit is contained in:
NAKAMURA Takumi 2015-10-22 04:51:47 +00:00
parent 0e304ea8a1
commit 6025991fa9
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ void CallFooIfAvailable(T& t) {
CallFooIfAvailableImpl(t, 0); // OK to call variadic function when the argument is a literal 0
}
#include <cstdarg>
#include <stdarg.h>
void my_printf(const char* format, ...) {
va_list ap;
va_start(ap, format);