From 0fe17174a038315af378211af33ab91bd5e5e6fa Mon Sep 17 00:00:00 2001 From: ahgamut <41098605+ahgamut@users.noreply.github.com> Date: Fri, 24 Jun 2022 10:28:36 +0530 Subject: [PATCH] change header locations --- third_party/double-conversion/bignum-dtoa.cc | 8 ++++---- third_party/double-conversion/bignum-dtoa.h | 2 +- third_party/double-conversion/bignum.cc | 8 ++++---- third_party/double-conversion/bignum.h | 2 +- third_party/double-conversion/cached-powers.cc | 10 +++++----- third_party/double-conversion/cached-powers.h | 2 +- third_party/double-conversion/diy-fp.h | 2 +- .../double-conversion/double-conversion.h | 4 ++-- .../double-conversion/double-to-string.cc | 18 +++++++++--------- .../double-conversion/double-to-string.h | 2 +- third_party/double-conversion/fast-dtoa.cc | 8 ++++---- third_party/double-conversion/fast-dtoa.h | 2 +- third_party/double-conversion/fixed-dtoa.cc | 6 +++--- third_party/double-conversion/fixed-dtoa.h | 2 +- third_party/double-conversion/ieee.h | 2 +- .../double-conversion/string-to-double.cc | 14 +++++++------- .../double-conversion/string-to-double.h | 2 +- third_party/double-conversion/strtod.cc | 12 ++++++------ third_party/double-conversion/strtod.h | 2 +- third_party/double-conversion/test/cctest.cc | 8 ++++---- third_party/double-conversion/test/cctest.h | 6 +++--- third_party/double-conversion/test/checks.h | 4 ++-- .../double-conversion/test/gay-fixed.cc | 4 ++-- .../double-conversion/test/gay-precision.cc | 4 ++-- .../test/gay-shortest-single.cc | 4 ++-- .../double-conversion/test/gay-shortest.cc | 4 ++-- .../double-conversion/test/test-bignum-dtoa.cc | 18 +++++++++--------- .../double-conversion/test/test-bignum.cc | 10 +++++----- .../double-conversion/test/test-conversions.cc | 10 +++++----- .../double-conversion/test/test-diy-fp.cc | 8 ++++---- .../double-conversion/test/test-dtoa.cc | 16 ++++++++-------- .../double-conversion/test/test-fast-dtoa.cc | 18 +++++++++--------- .../double-conversion/test/test-fixed-dtoa.cc | 12 ++++++------ .../double-conversion/test/test-ieee.cc | 12 ++++++------ .../double-conversion/test/test-strtod.cc | 14 +++++++------- third_party/double-conversion/utils.h | 9 +++++---- 36 files changed, 135 insertions(+), 134 deletions(-) diff --git a/third_party/double-conversion/bignum-dtoa.cc b/third_party/double-conversion/bignum-dtoa.cc index 15123e6a6..395bebb25 100644 --- a/third_party/double-conversion/bignum-dtoa.cc +++ b/third_party/double-conversion/bignum-dtoa.cc @@ -25,12 +25,12 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "third_party/libcxx/cmath" -#include "bignum-dtoa.h" +#include "third_party/double-conversion/bignum-dtoa.h" -#include "bignum.h" -#include "ieee.h" +#include "third_party/double-conversion/bignum.h" +#include "third_party/double-conversion/ieee.h" namespace double_conversion { diff --git a/third_party/double-conversion/bignum-dtoa.h b/third_party/double-conversion/bignum-dtoa.h index 34b961992..921622fd3 100644 --- a/third_party/double-conversion/bignum-dtoa.h +++ b/third_party/double-conversion/bignum-dtoa.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_BIGNUM_DTOA_H_ #define DOUBLE_CONVERSION_BIGNUM_DTOA_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/bignum.cc b/third_party/double-conversion/bignum.cc index d858c16ca..5a30d6e24 100644 --- a/third_party/double-conversion/bignum.cc +++ b/third_party/double-conversion/bignum.cc @@ -25,11 +25,11 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include +#include "third_party/libcxx/algorithm" +#include "third_party/libcxx/cstring" -#include "bignum.h" -#include "utils.h" +#include "third_party/double-conversion/bignum.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/bignum.h b/third_party/double-conversion/bignum.h index 14d1ca86f..8bde27841 100644 --- a/third_party/double-conversion/bignum.h +++ b/third_party/double-conversion/bignum.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_BIGNUM_H_ #define DOUBLE_CONVERSION_BIGNUM_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/cached-powers.cc b/third_party/double-conversion/cached-powers.cc index 56bdfc9d6..37c96834f 100644 --- a/third_party/double-conversion/cached-powers.cc +++ b/third_party/double-conversion/cached-powers.cc @@ -25,13 +25,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include -#include +#include "third_party/libcxx/climits" +#include "third_party/libcxx/cmath" +#include "third_party/libcxx/cstdarg" -#include "utils.h" +#include "third_party/double-conversion/utils.h" -#include "cached-powers.h" +#include "third_party/double-conversion/cached-powers.h" namespace double_conversion { diff --git a/third_party/double-conversion/cached-powers.h b/third_party/double-conversion/cached-powers.h index f38c26d20..0f0774e23 100644 --- a/third_party/double-conversion/cached-powers.h +++ b/third_party/double-conversion/cached-powers.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_CACHED_POWERS_H_ #define DOUBLE_CONVERSION_CACHED_POWERS_H_ -#include "diy-fp.h" +#include "third_party/double-conversion/diy-fp.h" namespace double_conversion { diff --git a/third_party/double-conversion/diy-fp.h b/third_party/double-conversion/diy-fp.h index a2200c4de..d8b903106 100644 --- a/third_party/double-conversion/diy-fp.h +++ b/third_party/double-conversion/diy-fp.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_DIY_FP_H_ #define DOUBLE_CONVERSION_DIY_FP_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/double-conversion.h b/third_party/double-conversion/double-conversion.h index 6e8884d84..28f44c4f9 100644 --- a/third_party/double-conversion/double-conversion.h +++ b/third_party/double-conversion/double-conversion.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_ #define DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_ -#include "string-to-double.h" -#include "double-to-string.h" +#include "third_party/double-conversion/string-to-double.h" +#include "third_party/double-conversion/double-to-string.h" #endif // DOUBLE_CONVERSION_DOUBLE_CONVERSION_H_ diff --git a/third_party/double-conversion/double-to-string.cc b/third_party/double-conversion/double-to-string.cc index 9255bce17..3296dfc22 100644 --- a/third_party/double-conversion/double-to-string.cc +++ b/third_party/double-conversion/double-to-string.cc @@ -25,17 +25,17 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include -#include +#include "third_party/libcxx/algorithm" +#include "third_party/libcxx/climits" +#include "third_party/libcxx/cmath" -#include "double-to-string.h" +#include "third_party/double-conversion/double-to-string.h" -#include "bignum-dtoa.h" -#include "fast-dtoa.h" -#include "fixed-dtoa.h" -#include "ieee.h" -#include "utils.h" +#include "third_party/double-conversion/bignum-dtoa.h" +#include "third_party/double-conversion/fast-dtoa.h" +#include "third_party/double-conversion/fixed-dtoa.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/double-to-string.h b/third_party/double-conversion/double-to-string.h index 04a4ac384..36b964330 100644 --- a/third_party/double-conversion/double-to-string.h +++ b/third_party/double-conversion/double-to-string.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_DOUBLE_TO_STRING_H_ #define DOUBLE_CONVERSION_DOUBLE_TO_STRING_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/fast-dtoa.cc b/third_party/double-conversion/fast-dtoa.cc index d7a23984d..48d09fd34 100644 --- a/third_party/double-conversion/fast-dtoa.cc +++ b/third_party/double-conversion/fast-dtoa.cc @@ -25,11 +25,11 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "fast-dtoa.h" +#include "third_party/double-conversion/fast-dtoa.h" -#include "cached-powers.h" -#include "diy-fp.h" -#include "ieee.h" +#include "third_party/double-conversion/cached-powers.h" +#include "third_party/double-conversion/diy-fp.h" +#include "third_party/double-conversion/ieee.h" namespace double_conversion { diff --git a/third_party/double-conversion/fast-dtoa.h b/third_party/double-conversion/fast-dtoa.h index 5f1e8eee5..dd67af671 100644 --- a/third_party/double-conversion/fast-dtoa.h +++ b/third_party/double-conversion/fast-dtoa.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_FAST_DTOA_H_ #define DOUBLE_CONVERSION_FAST_DTOA_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/fixed-dtoa.cc b/third_party/double-conversion/fixed-dtoa.cc index e739b1980..6f5bcc8c2 100644 --- a/third_party/double-conversion/fixed-dtoa.cc +++ b/third_party/double-conversion/fixed-dtoa.cc @@ -25,10 +25,10 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "third_party/libcxx/cmath" -#include "fixed-dtoa.h" -#include "ieee.h" +#include "third_party/double-conversion/fixed-dtoa.h" +#include "third_party/double-conversion/ieee.h" namespace double_conversion { diff --git a/third_party/double-conversion/fixed-dtoa.h b/third_party/double-conversion/fixed-dtoa.h index 3bdd08e21..a8c4bdc46 100644 --- a/third_party/double-conversion/fixed-dtoa.h +++ b/third_party/double-conversion/fixed-dtoa.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_FIXED_DTOA_H_ #define DOUBLE_CONVERSION_FIXED_DTOA_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/ieee.h b/third_party/double-conversion/ieee.h index 9203f4d55..1ae935891 100644 --- a/third_party/double-conversion/ieee.h +++ b/third_party/double-conversion/ieee.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_DOUBLE_H_ #define DOUBLE_CONVERSION_DOUBLE_H_ -#include "diy-fp.h" +#include "third_party/double-conversion/diy-fp.h" namespace double_conversion { diff --git a/third_party/double-conversion/string-to-double.cc b/third_party/double-conversion/string-to-double.cc index fe633aace..4a0634363 100644 --- a/third_party/double-conversion/string-to-double.cc +++ b/third_party/double-conversion/string-to-double.cc @@ -25,15 +25,15 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include -#include +#include "third_party/libcxx/climits" +#include "third_party/libcxx/locale" +#include "third_party/libcxx/cmath" -#include "string-to-double.h" +#include "third_party/double-conversion/string-to-double.h" -#include "ieee.h" -#include "strtod.h" -#include "utils.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/strtod.h" +#include "third_party/double-conversion/utils.h" #ifdef _MSC_VER # if _MSC_VER >= 1900 diff --git a/third_party/double-conversion/string-to-double.h b/third_party/double-conversion/string-to-double.h index fdf302d4c..2f1412348 100644 --- a/third_party/double-conversion/string-to-double.h +++ b/third_party/double-conversion/string-to-double.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_ #define DOUBLE_CONVERSION_STRING_TO_DOUBLE_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/strtod.cc b/third_party/double-conversion/strtod.cc index 5fb1b2f10..7f2bd16c6 100644 --- a/third_party/double-conversion/strtod.cc +++ b/third_party/double-conversion/strtod.cc @@ -25,13 +25,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include +#include "third_party/libcxx/climits" +#include "third_party/libcxx/cstdarg" -#include "bignum.h" -#include "cached-powers.h" -#include "ieee.h" -#include "strtod.h" +#include "third_party/double-conversion/bignum.h" +#include "third_party/double-conversion/cached-powers.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/strtod.h" namespace double_conversion { diff --git a/third_party/double-conversion/strtod.h b/third_party/double-conversion/strtod.h index 77221fb9d..c8fa2be7e 100644 --- a/third_party/double-conversion/strtod.h +++ b/third_party/double-conversion/strtod.h @@ -28,7 +28,7 @@ #ifndef DOUBLE_CONVERSION_STRTOD_H_ #define DOUBLE_CONVERSION_STRTOD_H_ -#include "utils.h" +#include "third_party/double-conversion/utils.h" namespace double_conversion { diff --git a/third_party/double-conversion/test/cctest.cc b/third_party/double-conversion/test/cctest.cc index 7d4526ba2..d4f78045d 100644 --- a/third_party/double-conversion/test/cctest.cc +++ b/third_party/double-conversion/test/cctest.cc @@ -25,10 +25,10 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "cctest.h" -#include -#include -#include +#include "third_party/double-conversion/test/cctest.h" +#include "libc/isystem/stdio.h" +#include "libc/isystem/stdlib.h" +#include "libc/isystem/string.h" CcTest* CcTest::last_ = NULL; diff --git a/third_party/double-conversion/test/cctest.h b/third_party/double-conversion/test/cctest.h index bd157a6de..13f4543ef 100644 --- a/third_party/double-conversion/test/cctest.h +++ b/third_party/double-conversion/test/cctest.h @@ -28,10 +28,10 @@ #ifndef CCTEST_H_ #define CCTEST_H_ -#include -#include +#include "libc/isystem/stdio.h" +#include "libc/isystem/string.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/utils.h" #ifndef TEST #define TEST(Name) \ diff --git a/third_party/double-conversion/test/checks.h b/third_party/double-conversion/test/checks.h index 4b0a70320..ca7c5bb61 100644 --- a/third_party/double-conversion/test/checks.h +++ b/third_party/double-conversion/test/checks.h @@ -28,9 +28,9 @@ #ifndef V8_CHECKS_H_ #define V8_CHECKS_H_ -#include +#include "libc/isystem/string.h" -#include "flags.h" +#include "third_party/double-conversion/test/flags.h" extern "C" void V8_Fatal(const char* file, int line, const char* format, ...); void API_Fatal(const char* location, const char* format, ...); diff --git a/third_party/double-conversion/test/gay-fixed.cc b/third_party/double-conversion/test/gay-fixed.cc index c723d1c13..838be1236 100644 --- a/third_party/double-conversion/test/gay-fixed.cc +++ b/third_party/double-conversion/test/gay-fixed.cc @@ -29,9 +29,9 @@ // have been generated using Gay's dtoa to produce the fixed representation: // dtoa(v, 3, number_digits, &decimal_point, &sign, NULL); -#include "double-conversion/utils.h" +#include "third_party/double-conversion/utils.h" -#include "gay-fixed.h" +#include "third_party/double-conversion/test/gay-fixed.h" namespace double_conversion { diff --git a/third_party/double-conversion/test/gay-precision.cc b/third_party/double-conversion/test/gay-precision.cc index d1c517b46..503773b0a 100644 --- a/third_party/double-conversion/test/gay-precision.cc +++ b/third_party/double-conversion/test/gay-precision.cc @@ -29,9 +29,9 @@ // have been generated using Gay's dtoa to produce the precision representation: // dtoa(v, 2, number_digits, &decimal_point, &sign, NULL); -#include "double-conversion/utils.h" +#include "third_party/double-conversion/utils.h" -#include "gay-precision.h" +#include "third_party/double-conversion/test/gay-precision.h" namespace double_conversion { diff --git a/third_party/double-conversion/test/gay-shortest-single.cc b/third_party/double-conversion/test/gay-shortest-single.cc index 9462a4953..66e139def 100644 --- a/third_party/double-conversion/test/gay-shortest-single.cc +++ b/third_party/double-conversion/test/gay-shortest-single.cc @@ -28,9 +28,9 @@ // This file contains 100.000 decimal representations of random singles. They // have been generated using Gay's gdtoa to produce the shortest representation. -#include "double-conversion/utils.h" +#include "third_party/double-conversion/utils.h" -#include "gay-shortest-single.h" +#include "third_party/double-conversion/test/gay-shortest-single.h" namespace double_conversion { diff --git a/third_party/double-conversion/test/gay-shortest.cc b/third_party/double-conversion/test/gay-shortest.cc index 9008f7f45..81b47ab87 100644 --- a/third_party/double-conversion/test/gay-shortest.cc +++ b/third_party/double-conversion/test/gay-shortest.cc @@ -29,9 +29,9 @@ // have been generated using Gay's dtoa to produce the shortest representation: // decimal_rep = dtoa(v, 0, 0, &decimal_point, &sign, NULL); -#include "double-conversion/utils.h" +#include "third_party/double-conversion/utils.h" -#include "gay-shortest.h" +#include "third_party/double-conversion/test/gay-shortest.h" namespace double_conversion { diff --git a/third_party/double-conversion/test/test-bignum-dtoa.cc b/third_party/double-conversion/test/test-bignum-dtoa.cc index e2367d943..fa4e64ca7 100644 --- a/third_party/double-conversion/test/test-bignum-dtoa.cc +++ b/third_party/double-conversion/test/test-bignum-dtoa.cc @@ -25,17 +25,17 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/stdlib.h" -#include "double-conversion/bignum-dtoa.h" +#include "third_party/double-conversion/bignum-dtoa.h" -#include "cctest.h" -#include "gay-fixed.h" -#include "gay-precision.h" -#include "gay-shortest.h" -#include "gay-shortest-single.h" -#include "double-conversion/ieee.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/test/gay-fixed.h" +#include "third_party/double-conversion/test/gay-precision.h" +#include "third_party/double-conversion/test/gay-shortest.h" +#include "third_party/double-conversion/test/gay-shortest-single.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/utils.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-bignum.cc b/third_party/double-conversion/test/test-bignum.cc index 1bf6a6941..02385576f 100644 --- a/third_party/double-conversion/test/test-bignum.cc +++ b/third_party/double-conversion/test/test-bignum.cc @@ -25,13 +25,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include +#include "libc/isystem/stdlib.h" +#include "libc/isystem/string.h" -#include "double-conversion/bignum.h" -#include "cctest.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/bignum.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/utils.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-conversions.cc b/third_party/double-conversion/test/test-conversions.cc index 504d946b7..bd161543a 100644 --- a/third_party/double-conversion/test/test-conversions.cc +++ b/third_party/double-conversion/test/test-conversions.cc @@ -25,12 +25,12 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/string.h" -#include "cctest.h" -#include "double-conversion/double-conversion.h" -#include "double-conversion/ieee.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/double-conversion.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/utils.h" // DoubleToString is already tested in test-dtoa.cc. diff --git a/third_party/double-conversion/test/test-diy-fp.cc b/third_party/double-conversion/test/test-diy-fp.cc index ece437985..c220ef6e9 100644 --- a/third_party/double-conversion/test/test-diy-fp.cc +++ b/third_party/double-conversion/test/test-diy-fp.cc @@ -25,11 +25,11 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/stdlib.h" -#include "cctest.h" -#include "double-conversion/diy-fp.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/diy-fp.h" +#include "third_party/double-conversion/utils.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-dtoa.cc b/third_party/double-conversion/test/test-dtoa.cc index 494850e1d..c5824fdde 100644 --- a/third_party/double-conversion/test/test-dtoa.cc +++ b/third_party/double-conversion/test/test-dtoa.cc @@ -25,16 +25,16 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/stdlib.h" -#include "double-conversion/double-conversion.h" +#include "third_party/double-conversion/double-conversion.h" -#include "cctest.h" -#include "gay-fixed.h" -#include "gay-precision.h" -#include "gay-shortest.h" -#include "gay-shortest-single.h" -#include "double-conversion/ieee.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/test/gay-fixed.h" +#include "third_party/double-conversion/test/gay-precision.h" +#include "third_party/double-conversion/test/gay-shortest.h" +#include "third_party/double-conversion/test/gay-shortest-single.h" +#include "third_party/double-conversion/ieee.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-fast-dtoa.cc b/third_party/double-conversion/test/test-fast-dtoa.cc index df6165bc7..8b8742b4b 100644 --- a/third_party/double-conversion/test/test-fast-dtoa.cc +++ b/third_party/double-conversion/test/test-fast-dtoa.cc @@ -25,16 +25,16 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/stdlib.h" -#include "cctest.h" -#include "double-conversion/diy-fp.h" -#include "double-conversion/fast-dtoa.h" -#include "gay-precision.h" -#include "gay-shortest.h" -#include "gay-shortest-single.h" -#include "double-conversion/ieee.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/diy-fp.h" +#include "third_party/double-conversion/fast-dtoa.h" +#include "third_party/double-conversion/test/gay-precision.h" +#include "third_party/double-conversion/test/gay-shortest.h" +#include "third_party/double-conversion/test/gay-shortest-single.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/utils.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-fixed-dtoa.cc b/third_party/double-conversion/test/test-fixed-dtoa.cc index e66f38904..b15d2ecf2 100644 --- a/third_party/double-conversion/test/test-fixed-dtoa.cc +++ b/third_party/double-conversion/test/test-fixed-dtoa.cc @@ -25,14 +25,14 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/stdlib.h" -#include "cctest.h" -#include "double-conversion/fixed-dtoa.h" -#include "gay-fixed.h" -#include "double-conversion/ieee.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/fixed-dtoa.h" +#include "third_party/double-conversion/test/gay-fixed.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/utils.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-ieee.cc b/third_party/double-conversion/test/test-ieee.cc index 312eccd03..20018fe19 100644 --- a/third_party/double-conversion/test/test-ieee.cc +++ b/third_party/double-conversion/test/test-ieee.cc @@ -25,13 +25,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include +#include "libc/isystem/stdlib.h" +#include "libc/isystem/limits" -#include "cctest.h" -#include "double-conversion/diy-fp.h" -#include "double-conversion/utils.h" -#include "double-conversion/ieee.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/diy-fp.h" +#include "third_party/double-conversion/utils.h" +#include "third_party/double-conversion/ieee.h" using namespace double_conversion; diff --git a/third_party/double-conversion/test/test-strtod.cc b/third_party/double-conversion/test/test-strtod.cc index b5a3bab71..872e8189b 100644 --- a/third_party/double-conversion/test/test-strtod.cc +++ b/third_party/double-conversion/test/test-strtod.cc @@ -25,14 +25,14 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include +#include "libc/isystem/stdlib.h" -#include "double-conversion/bignum.h" -#include "cctest.h" -#include "double-conversion/diy-fp.h" -#include "double-conversion/ieee.h" -#include "double-conversion/strtod.h" -#include "double-conversion/utils.h" +#include "third_party/double-conversion/bignum.h" +#include "third_party/double-conversion/test/cctest.h" +#include "third_party/double-conversion/diy-fp.h" +#include "third_party/double-conversion/ieee.h" +#include "third_party/double-conversion/strtod.h" +#include "third_party/double-conversion/utils.h" using namespace double_conversion; diff --git a/third_party/double-conversion/utils.h b/third_party/double-conversion/utils.h index 41078b6c2..741af74e0 100644 --- a/third_party/double-conversion/utils.h +++ b/third_party/double-conversion/utils.h @@ -31,10 +31,10 @@ // Use DOUBLE_CONVERSION_NON_PREFIXED_MACROS to get unprefixed macros as was // the case in double-conversion releases prior to 3.1.6 -#include -#include +#include "third_party/libcxx/cstdlib" +#include "third_party/libcxx/cstring" -#include +#include "third_party/libcxx/cassert" #ifndef DOUBLE_CONVERSION_ASSERT #define DOUBLE_CONVERSION_ASSERT(condition) \ assert(condition) @@ -176,7 +176,8 @@ typedef unsigned __int64 uint64_t; #else -#include +#include "libc/limits.h" +#include "libc/literal.h" #endif