summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-10-22 04:51:47 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-10-22 04:51:47 +0000
commit6025991fa94f7027d60fd68ffd6a9f44151d2c12 (patch)
treeae28c7ed96706e21db23bb36695d30043eb7ade0
parent0e304ea8a1a49f3c4443c335de448f667c43af1b (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud