Skip to content

Commit f0be9f5

Browse files
danbevcodebytere
authored andcommitted
src: remove unused using declarations
This commit removes the unused using declarations reported by lint-cpp. PR-URL: #33268 Refs: #29226 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
1 parent 18e057c commit f0be9f5

27 files changed

+0
-41
lines changed

src/async_wrap.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ using v8::HandleScope;
3939
using v8::Integer;
4040
using v8::Isolate;
4141
using v8::Local;
42-
using v8::Maybe;
4342
using v8::MaybeLocal;
4443
using v8::Name;
4544
using v8::Number;

src/heap_utils.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ using v8::Global;
1515
using v8::HandleScope;
1616
using v8::HeapSnapshot;
1717
using v8::Isolate;
18-
using v8::JSON;
1918
using v8::Local;
2019
using v8::MaybeLocal;
2120
using v8::Number;

src/inspector_agent.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ using v8::Isolate;
4545
using v8::Local;
4646
using v8::Message;
4747
using v8::Object;
48-
using v8::String;
49-
using v8::Task;
5048
using v8::Value;
5149

5250
using v8_inspector::StringBuffer;

src/inspector_js_api.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ namespace node {
1212
namespace inspector {
1313
namespace {
1414

15-
using v8::Boolean;
1615
using v8::Context;
1716
using v8::Function;
1817
using v8::FunctionCallbackInfo;

src/module_wrap.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ using v8::HandleScope;
3333
using v8::Integer;
3434
using v8::IntegrityLevel;
3535
using v8::Isolate;
36-
using v8::Just;
3736
using v8::Local;
38-
using v8::Maybe;
3937
using v8::MaybeLocal;
4038
using v8::Module;
4139
using v8::Number;

src/node_contextify.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ namespace contextify {
3636
using errors::TryCatchScope;
3737

3838
using v8::Array;
39-
using v8::ArrayBuffer;
4039
using v8::ArrayBufferView;
4140
using v8::Boolean;
4241
using v8::Context;

src/node_credentials.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ namespace node {
1515

1616
using v8::Array;
1717
using v8::Context;
18-
using v8::Function;
1918
using v8::FunctionCallbackInfo;
2019
using v8::HandleScope;
2120
using v8::Isolate;

src/node_dir.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ using fs::GetReqWrap;
2828

2929
using v8::Array;
3030
using v8::Context;
31-
using v8::Function;
3231
using v8::FunctionCallbackInfo;
3332
using v8::FunctionTemplate;
3433
using v8::HandleScope;

src/node_dtrace.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ using v8::HandleScope;
5757
using v8::Isolate;
5858
using v8::Local;
5959
using v8::Object;
60-
using v8::String;
6160
using v8::Value;
6261

6362
#define SLURP_STRING(obj, member, valp) \

src/node_errors.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ using v8::Local;
2525
using v8::Maybe;
2626
using v8::MaybeLocal;
2727
using v8::Message;
28-
using v8::Number;
2928
using v8::Object;
3029
using v8::ScriptOrigin;
3130
using v8::StackFrame;

0 commit comments

Comments
 (0)