Reduce header complexity

- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
This commit is contained in:
Justine Tunney 2023-11-28 14:24:28 -08:00
parent 96f979dfc5
commit fa20edc44d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3057 changed files with 410 additions and 4398 deletions

View file

@ -25,7 +25,6 @@
// (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 "third_party/double-conversion/test/cctest.h"
// clang-format off
CcTest* CcTest::last_ = NULL;

View file

@ -27,7 +27,6 @@
#ifndef CCTEST_H_
#define CCTEST_H_
#include "third_party/double-conversion/utils.h"
// clang-format off
#ifndef TEST
#define TEST(Name) \

View file

@ -27,7 +27,6 @@
#ifndef V8_CHECKS_H_
#define V8_CHECKS_H_
//#include "third_party/double-conversion/test/flags.h"
// clang-format off
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
void API_Fatal(const char* location, const char* format, ...);

View file

@ -1,4 +1,3 @@
// clang-format off
// Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are

View file

@ -1,4 +1,3 @@
// clang-format off
// Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are

View file

@ -1,4 +1,3 @@
// clang-format off
// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are

View file

@ -1,4 +1,3 @@
// clang-format off
// Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are

View file

@ -32,7 +32,6 @@
#include "third_party/double-conversion/test/gay-shortest-single.h"
#include "third_party/double-conversion/test/gay-shortest.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
using namespace double_conversion;

View file

@ -27,7 +27,6 @@
#include "third_party/double-conversion/bignum.h"
#include "third_party/double-conversion/test/cctest.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
using namespace double_conversion;

View file

@ -28,7 +28,6 @@
#include "third_party/double-conversion/ieee.h"
#include "third_party/double-conversion/test/cctest.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
// DoubleToString is already tested in test-dtoa.cc.

View file

@ -27,7 +27,6 @@
#include "third_party/double-conversion/diy-fp.h"
#include "third_party/double-conversion/test/cctest.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
using namespace double_conversion;

View file

@ -31,7 +31,6 @@
#include "third_party/double-conversion/test/gay-precision.h"
#include "third_party/double-conversion/test/gay-shortest-single.h"
#include "third_party/double-conversion/test/gay-shortest.h"
// clang-format off
using namespace double_conversion;

View file

@ -32,7 +32,6 @@
#include "third_party/double-conversion/test/gay-shortest-single.h"
#include "third_party/double-conversion/test/gay-shortest.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
using namespace double_conversion;

View file

@ -29,7 +29,6 @@
#include "third_party/double-conversion/test/cctest.h"
#include "third_party/double-conversion/test/gay-fixed.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
using namespace double_conversion;

View file

@ -29,7 +29,6 @@
#include "third_party/double-conversion/test/cctest.h"
#include "third_party/double-conversion/utils.h"
#include "third_party/libcxx/limits"
// clang-format off
using namespace double_conversion;

View file

@ -30,7 +30,6 @@
#include "third_party/double-conversion/strtod.h"
#include "third_party/double-conversion/test/cctest.h"
#include "third_party/double-conversion/utils.h"
// clang-format off
using namespace double_conversion;