From: Marshall Clow Date: Thu, 16 Jul 2015 22:13:26 +0000 (+0000) Subject: Include what we use, instead of letting them get pulled in implictly. This makes... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c9b0ec554e36f95f9ed9e2c9bfe5dc113a8cf11;p=platform%2Fupstream%2Fllvm.git Include what we use, instead of letting them get pulled in implictly. This makes the tests work on VS. Thanks to STL for the report llvm-svn: 242454 --- diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp index 7fe78ba..df5ec4a 100644 --- a/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp +++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp @@ -14,6 +14,8 @@ #include #include +#include // for 'min' and 'max' +#include // for 'invalid_argument' #pragma clang diagnostic ignored "-Wtautological-compare" diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp index bcee50c..98083f8 100644 --- a/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp +++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/string_ctor.pass.cpp @@ -11,6 +11,8 @@ #include #include +#include // for 'min' and 'max' +#include // for 'invalid_argument' #pragma clang diagnostic ignored "-Wtautological-compare" diff --git a/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp index 023fedc..f232447 100644 --- a/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp +++ b/libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp @@ -11,6 +11,7 @@ #include #include +#include // for 'min' and 'max' #pragma clang diagnostic ignored "-Wtautological-compare"