change header locations

This commit is contained in:
ahgamut 2022-06-24 10:28:36 +05:30
parent 622faca123
commit 0fe17174a0
36 changed files with 135 additions and 134 deletions

View file

@ -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 <cmath>
#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 {

View file

@ -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 {

View file

@ -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 <algorithm>
#include <cstring>
#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 {

View file

@ -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 {

View file

@ -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 <climits>
#include <cmath>
#include <cstdarg>
#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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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_

View file

@ -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 <algorithm>
#include <climits>
#include <cmath>
#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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 <cmath>
#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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 <climits>
#include <locale>
#include <cmath>
#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

View file

@ -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 {

View file

@ -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 <climits>
#include <cstdarg>
#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 {

View file

@ -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 {

View file

@ -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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#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;

View file

@ -28,10 +28,10 @@
#ifndef CCTEST_H_
#define CCTEST_H_
#include <stdio.h>
#include <string.h>
#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) \

View file

@ -28,9 +28,9 @@
#ifndef V8_CHECKS_H_
#define V8_CHECKS_H_
#include <string.h>
#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, ...);

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 <stdlib.h>
#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;

View file

@ -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 <stdlib.h>
#include <string.h>
#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;

View file

@ -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 <string.h>
#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.

View file

@ -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 <stdlib.h>
#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;

View file

@ -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 <stdlib.h>
#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;

View file

@ -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 <stdlib.h>
#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;

View file

@ -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 <stdlib.h>
#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;

View file

@ -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 <stdlib.h>
#include <limits>
#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;

View file

@ -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 <stdlib.h>
#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;

View file

@ -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 <cstdlib>
#include <cstring>
#include "third_party/libcxx/cstdlib"
#include "third_party/libcxx/cstring"
#include <cassert>
#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 <stdint.h>
#include "libc/limits.h"
#include "libc/literal.h"
#endif