Browse Source

src: clean up `using` directives

Remove the unused ones and alphabetically sort the ones that remain.
v0.11.3-release
Ben Noordhuis 12 years ago
parent
commit
b9165252e3
  1. 1
      src/cares_wrap.cc
  2. 6
      src/handle_wrap.cc
  3. 21
      src/node_script.cc
  4. 2
      src/pipe_wrap.cc
  5. 22
      src/process_wrap.cc
  6. 16
      src/signal_wrap.cc
  7. 2
      src/slab_allocator.cc
  8. 5
      src/stream_wrap.cc
  9. 1
      src/string_bytes.cc
  10. 2
      src/tcp_wrap.cc
  11. 16
      src/timer_wrap.cc
  12. 2
      src/tty_wrap.cc
  13. 2
      src/v8_typed_array.cc

1
src/cares_wrap.cc

@ -47,7 +47,6 @@ namespace cares_wrap {
using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Function;
using v8::Handle;
using v8::HandleScope;

6
src/handle_wrap.cc

@ -26,18 +26,12 @@
namespace node {
using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::TryCatch;
using v8::Undefined;
using v8::Value;

21
src/node_script.cc

@ -26,24 +26,23 @@
namespace node {
using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Script;
using v8::Value;
using v8::Exception;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Local;
using v8::Object;
using v8::Arguments;
using v8::Persistent;
using v8::Script;
using v8::String;
using v8::ThrowException;
using v8::TryCatch;
using v8::String;
using v8::Exception;
using v8::Local;
using v8::Array;
using v8::Persistent;
using v8::Integer;
using v8::Function;
using v8::FunctionTemplate;
using v8::V8;
using v8::Value;
class WrappedContext : ObjectWrap {

2
src/pipe_wrap.cc

@ -31,7 +31,6 @@ namespace node {
using v8::Arguments;
using v8::Boolean;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
@ -42,7 +41,6 @@ using v8::Object;
using v8::Persistent;
using v8::PropertyAttribute;
using v8::String;
using v8::TryCatch;
using v8::Value;
extern Persistent<FunctionTemplate> pipeConstructorTmpl;

22
src/process_wrap.cc

@ -28,23 +28,21 @@
namespace node {
using v8::Object;
using v8::Arguments;
using v8::Array;
using v8::Exception;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Number;
using v8::Object;
using v8::Persistent;
using v8::Value;
using v8::HandleScope;
using v8::FunctionTemplate;
using v8::String;
using v8::Array;
using v8::Number;
using v8::Function;
using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
using v8::Exception;
using v8::ThrowException;
using v8::Value;
static Persistent<String> onexit_sym;

16
src/signal_wrap.cc

@ -25,19 +25,17 @@
namespace node {
using v8::Object;
using v8::Arguments;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::Persistent;
using v8::Value;
using v8::HandleScope;
using v8::FunctionTemplate;
using v8::String;
using v8::Function;
using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
using v8::Value;
static Persistent<String> onsignal_sym;

2
src/slab_allocator.cc

@ -36,8 +36,8 @@ using v8::Null;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::Value;
using v8::V8;
using v8::Value;
namespace node {

5
src/stream_wrap.cc

@ -41,10 +41,6 @@ namespace node {
using v8::AccessorInfo;
using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Exception;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
@ -53,7 +49,6 @@ using v8::Number;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::TryCatch;
using v8::Value;

1
src/string_bytes.cc

@ -39,7 +39,6 @@ namespace node {
using v8::Handle;
using v8::HandleScope;
using v8::Local;
using v8::Object;
using v8::String;
using v8::Value;

2
src/tcp_wrap.cc

@ -33,7 +33,6 @@
namespace node {
using v8::Arguments;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
@ -45,7 +44,6 @@ using v8::Object;
using v8::Persistent;
using v8::PropertyAttribute;
using v8::String;
using v8::TryCatch;
using v8::Undefined;
using v8::Value;

16
src/timer_wrap.cc

@ -24,19 +24,17 @@
namespace node {
using v8::Object;
using v8::Arguments;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::Persistent;
using v8::Value;
using v8::HandleScope;
using v8::FunctionTemplate;
using v8::String;
using v8::Function;
using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
using v8::Value;
static Persistent<String> ontimeout_sym;

2
src/tty_wrap.cc

@ -30,7 +30,6 @@
namespace node {
using v8::Arguments;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
@ -41,7 +40,6 @@ using v8::Object;
using v8::Persistent;
using v8::PropertyAttribute;
using v8::String;
using v8::TryCatch;
using v8::Undefined;
using v8::Value;

2
src/v8_typed_array.cc

@ -31,9 +31,9 @@
namespace {
using node::ThrowError;
using node::ThrowRangeError;
using node::ThrowTypeError;
using node::ThrowError;
struct BatchedMethods {
const char* name;

Loading…
Cancel
Save