diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-10-22 04:51:47 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-10-22 04:51:47 +0000 |
| commit | 6025991fa94f7027d60fd68ffd6a9f44151d2c12 (patch) | |
| tree | ae28c7ed96706e21db23bb36695d30043eb7ade0 | |
| parent | 0e304ea8a1a49f3c4443c335de448f667c43af1b (diff) | |
| download | bcm5719-llvm-6025991fa94f7027d60fd68ffd6a9f44151d2c12.tar.gz bcm5719-llvm-6025991fa94f7027d60fd68ffd6a9f44151d2c12.zip | |
clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp: Tweak not to depend on out-of-tree header <cstdarg>.
llvm-svn: 250986
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp index 9ef3de2d9d3..b2b47848779 100644 --- a/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp +++ b/clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp @@ -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); |

