v8/include
Clemens Backes e677c91f18 [include][cleanup] Replace typedef by using
The rest of the code base was already migrated last year in
https://crrev.com/c/1631409. In the API we have to be more careful to
not break embedders. According to the standard there is no semantic
difference between typedef and using ([decl.typedef#2]):
  A typedef-name can also be introduced by an alias-declaration. The
  identifier following the using keyword becomes a typedef-name and the
  optional attribute-specifier-seq following the identifier appertains
  to that typedef-name. Such a typedef-name has the same semantics as if
  it were introduced by the typedef specifier.

Thus this CL replaces all typedefs in include/v8.h by the equivalent
using declaration. This improves readability, especially for function
pointer types.

R=ulan@chromium.org
CC=leszeks@chromium.org

Bug: v8:11074
Change-Id: Id917b6aa5c8cd289c60bda5da1e3667e747936e7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2563880
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71719}
2020-12-11 16:19:31 +00:00
..
cppgc cppgc: Allow to disable incremental marking/sweeping 2020-12-10 15:59:38 +00:00
libplatform [api] Introduce a single-threaded version of DefaultPlatform 2020-11-13 17:20:58 +00:00
APIDesign.md Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
DEPS heap, cppgc: Add write barrier for TracedReference 2020-12-01 12:15:01 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
js_protocol-1.2.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol-1.3.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol.pdl [wasm] Use WebAssembly.Memory objects in the scope chain. 2020-12-07 11:45:45 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
v8-cppgc.h heap, cppgc: Add write barrier for TracedReference 2020-12-01 12:15:01 +00:00
v8-fast-api-calls.h [fastcall] Turn the options pointer to a reference 2020-10-22 12:44:54 +00:00
v8-inspector-protocol.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-inspector.h Prepare for moving object description generation to blink (ValueMirror) 2020-10-29 09:39:11 +00:00
v8-internal.h [fastcall] Add CPU profiler support for fast calls 2020-11-18 12:29:22 +00:00
v8-metrics.h (Step 3 of 3): Prepping Wasm events in the Recorder interface 2020-11-24 21:02:32 +00:00
v8-platform.h [Jobs]: Deprecate IsCompleted and IsRunning. 2020-12-10 16:48:48 +00:00
v8-profiler.h Reland "cppgc-js: heap snapshot: Add logic for querying detachedness" 2020-10-29 09:18:21 +00:00
v8-unwinder-state.h [unwinder] Restore callee saved registers after unwinding in arm32 2020-10-20 12:32:09 +00:00
v8-util.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-version.h Change Version number to 8.9 2020-11-12 11:55:44 +00:00
v8-wasm-trap-handler-posix.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-wasm-trap-handler-win.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8.h [include][cleanup] Replace typedef by using 2020-12-11 16:19:31 +00:00
v8config.h [config] Add [[nodiscard]] as an attribute to v8config 2020-11-25 11:49:05 +00:00