v8/third_party
Simon Zünd da6543108d [torque] Add lint error for 'let' bindings that can be 'const'
This CL adds a lint error for variables that are unnecessarily bound
with 'let' when they could be bound using 'const. This test is skipped
for struct types. For struct types, the "constness" also depends on
the struct methods called and whether these methods write to the struct
or not. This is not straight-forward to detect.

Drive-by: Fix all the newly introduced lint errors.

Bug: v8:7793
Change-Id: I0522ffcc4321350eef2e9573b8430bc78200ddce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1645322
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62085}
2019-06-11 11:29:21 +00:00
..
binutils Add missing owners files 2019-05-31 07:21:01 +00:00
colorama Add missing owners files 2019-05-31 07:21:01 +00:00
googletest Update V8 DEPS. 2019-01-22 14:49:04 +00:00
inspector_protocol [DevTools] Roll inspector_protocol. 2019-06-07 21:32:35 +00:00
v8/builtins [torque] Add lint error for 'let' bindings that can be 'const' 2019-06-11 11:29:21 +00:00
wasm-api Add missing owners files 2019-05-31 07:21:01 +00:00