Browse Source

src: remove unused using decls

PR-URL: https://github.com/nodejs/node/pull/7990
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
v7.x
Haojian Wu 9 years ago
committed by James M Snell
parent
commit
43ef58005e
  1. 1
      src/cares_wrap.cc
  2. 1
      src/debug-agent.cc
  3. 1
      src/env.cc
  4. 1
      src/inspector_agent.cc
  5. 1
      src/node.cc
  6. 4
      src/node_buffer.cc
  7. 2
      src/node_contextify.cc
  8. 1
      src/node_crypto.cc
  9. 1
      src/node_dtrace.cc
  10. 1
      src/node_file.cc
  11. 1
      src/node_v8.cc
  12. 1
      src/node_zlib.cc
  13. 1
      src/pipe_wrap.cc
  14. 1
      src/process_wrap.cc
  15. 1
      src/signal_wrap.cc
  16. 1
      src/stream_wrap.cc
  17. 1
      src/timer_wrap.cc
  18. 1
      src/tls_wrap.cc
  19. 2
      src/tty_wrap.cc
  20. 2
      src/udp_wrap.cc
  21. 2
      src/uv.cc

1
src/cares_wrap.cc

@ -36,7 +36,6 @@ namespace cares_wrap {
using v8::Array; using v8::Array;
using v8::Context; using v8::Context;
using v8::EscapableHandleScope; using v8::EscapableHandleScope;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;

1
src/debug-agent.cc

@ -36,7 +36,6 @@ namespace node {
namespace debugger { namespace debugger {
using v8::Context; using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;

1
src/env.cc

@ -21,7 +21,6 @@ using v8::Local;
using v8::Message; using v8::Message;
using v8::StackFrame; using v8::StackFrame;
using v8::StackTrace; using v8::StackTrace;
using v8::Value;
void Environment::Start(int argc, void Environment::Start(int argc,
const char* const* argv, const char* const* argv,

1
src/inspector_agent.cc

@ -155,7 +155,6 @@ bool RespondToGet(inspector_socket_t* socket, const std::string& path,
namespace inspector { namespace inspector {
using blink::protocol::DictionaryValue;
class AgentImpl { class AgentImpl {
public: public:

1
src/node.cc

@ -125,7 +125,6 @@ using v8::ScriptOrigin;
using v8::SealHandleScope; using v8::SealHandleScope;
using v8::String; using v8::String;
using v8::TryCatch; using v8::TryCatch;
using v8::Uint32;
using v8::Uint32Array; using v8::Uint32Array;
using v8::V8; using v8::V8;
using v8::Value; using v8::Value;

4
src/node_buffer.cc

@ -95,19 +95,15 @@ using v8::ArrayBuffer;
using v8::ArrayBufferCreationMode; using v8::ArrayBufferCreationMode;
using v8::Context; using v8::Context;
using v8::EscapableHandleScope; using v8::EscapableHandleScope;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::HandleScope;
using v8::Integer; using v8::Integer;
using v8::Isolate; using v8::Isolate;
using v8::Local; using v8::Local;
using v8::Maybe; using v8::Maybe;
using v8::MaybeLocal; using v8::MaybeLocal;
using v8::Number;
using v8::Object; using v8::Object;
using v8::Persistent; using v8::Persistent;
using v8::String; using v8::String;
using v8::Uint32;
using v8::Uint32Array; using v8::Uint32Array;
using v8::Uint8Array; using v8::Uint8Array;
using v8::Value; using v8::Value;

2
src/node_contextify.cc

@ -23,7 +23,6 @@ using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;
using v8::Integer; using v8::Integer;
using v8::Isolate;
using v8::Local; using v8::Local;
using v8::Maybe; using v8::Maybe;
using v8::MaybeLocal; using v8::MaybeLocal;
@ -41,7 +40,6 @@ using v8::String;
using v8::TryCatch; using v8::TryCatch;
using v8::Uint8Array; using v8::Uint8Array;
using v8::UnboundScript; using v8::UnboundScript;
using v8::V8;
using v8::Value; using v8::Value;
using v8::WeakCallbackInfo; using v8::WeakCallbackInfo;

1
src/node_crypto.cc

@ -83,7 +83,6 @@ using v8::PropertyAttribute;
using v8::PropertyCallbackInfo; using v8::PropertyCallbackInfo;
using v8::ReadOnly; using v8::ReadOnly;
using v8::String; using v8::String;
using v8::V8;
using v8::Value; using v8::Value;

1
src/node_dtrace.cc

@ -32,7 +32,6 @@
namespace node { namespace node {
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::GCCallbackFlags; using v8::GCCallbackFlags;
using v8::GCType; using v8::GCType;
using v8::HandleScope; using v8::HandleScope;

1
src/node_file.cc

@ -34,7 +34,6 @@ using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;
using v8::Integer; using v8::Integer;
using v8::Isolate;
using v8::Local; using v8::Local;
using v8::Number; using v8::Number;
using v8::Object; using v8::Object;

1
src/node_v8.cc

@ -10,7 +10,6 @@ namespace node {
using v8::Array; using v8::Array;
using v8::ArrayBuffer; using v8::ArrayBuffer;
using v8::Context; using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::HeapSpaceStatistics; using v8::HeapSpaceStatistics;
using v8::HeapStatistics; using v8::HeapStatistics;

1
src/node_zlib.cc

@ -27,7 +27,6 @@ using v8::Integer;
using v8::Local; using v8::Local;
using v8::Number; using v8::Number;
using v8::Object; using v8::Object;
using v8::String;
using v8::Value; using v8::Value;
enum node_zlib_mode { enum node_zlib_mode {

1
src/pipe_wrap.cc

@ -26,7 +26,6 @@ using v8::HandleScope;
using v8::Integer; using v8::Integer;
using v8::Local; using v8::Local;
using v8::Object; using v8::Object;
using v8::String;
using v8::Value; using v8::Value;

1
src/process_wrap.cc

@ -12,7 +12,6 @@ namespace node {
using v8::Array; using v8::Array;
using v8::Context; using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;

1
src/signal_wrap.cc

@ -10,7 +10,6 @@
namespace node { namespace node {
using v8::Context; using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;

1
src/stream_wrap.cc

@ -30,7 +30,6 @@ using v8::HandleScope;
using v8::Integer; using v8::Integer;
using v8::Local; using v8::Local;
using v8::Object; using v8::Object;
using v8::True;
using v8::Value; using v8::Value;

1
src/timer_wrap.cc

@ -11,7 +11,6 @@
namespace node { namespace node {
using v8::Context; using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;

1
src/tls_wrap.cc

@ -17,7 +17,6 @@ namespace node {
using crypto::SecureContext; using crypto::SecureContext;
using crypto::SSLWrap; using crypto::SSLWrap;
using v8::Boolean;
using v8::Context; using v8::Context;
using v8::EscapableHandleScope; using v8::EscapableHandleScope;
using v8::Exception; using v8::Exception;

2
src/tty_wrap.cc

@ -15,13 +15,11 @@ namespace node {
using v8::Array; using v8::Array;
using v8::Context; using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::Integer; using v8::Integer;
using v8::Local; using v8::Local;
using v8::Object; using v8::Object;
using v8::String;
using v8::Value; using v8::Value;

2
src/udp_wrap.cc

@ -17,7 +17,6 @@ using v8::Array;
using v8::Context; using v8::Context;
using v8::EscapableHandleScope; using v8::EscapableHandleScope;
using v8::External; using v8::External;
using v8::Function;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate; using v8::FunctionTemplate;
using v8::HandleScope; using v8::HandleScope;
@ -27,7 +26,6 @@ using v8::Object;
using v8::PropertyAttribute; using v8::PropertyAttribute;
using v8::PropertyCallbackInfo; using v8::PropertyCallbackInfo;
using v8::String; using v8::String;
using v8::Uint32;
using v8::Undefined; using v8::Undefined;
using v8::Value; using v8::Value;

2
src/uv.cc

@ -8,11 +8,9 @@ namespace uv {
using v8::Context; using v8::Context;
using v8::FunctionCallbackInfo; using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Integer; using v8::Integer;
using v8::Local; using v8::Local;
using v8::Object; using v8::Object;
using v8::String;
using v8::Value; using v8::Value;

Loading…
Cancel
Save