Browse Source

src: fix check-imports.py linter errors

This patch fixes all the linter errors.

PR-URL: https://github.com/nodejs/node/pull/6105
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
process-exit-stdio-flushing
Sakthipriyan Vairamani 9 years ago
parent
commit
2c480bdae6
  1. 1
      src/async-wrap.cc
  2. 1
      src/env.cc
  3. 1
      src/handle_wrap.cc
  4. 2
      src/node.cc
  5. 1
      src/node_buffer.cc
  6. 2
      src/node_config.cc
  7. 2
      src/node_contextify.cc
  8. 1
      src/node_v8.cc
  9. 3
      src/node_watchdog.cc
  10. 1
      src/pipe_wrap.cc
  11. 5
      src/stream_wrap.cc
  12. 2
      src/string_bytes.cc
  13. 1
      src/tcp_wrap.cc
  14. 4
      src/tls_wrap.cc
  15. 1
      src/tty_wrap.cc
  16. 2
      src/util.cc
  17. 2
      src/uv.cc

1
src/async-wrap.cc

@ -8,7 +8,6 @@
#include "v8.h"
#include "v8-profiler.h"
using v8::Array;
using v8::Boolean;
using v8::Context;
using v8::Function;

1
src/env.cc

@ -17,7 +17,6 @@ using v8::Local;
using v8::Message;
using v8::StackFrame;
using v8::StackTrace;
using v8::TryCatch;
using v8::Value;
void Environment::PrintSyncTrace() const {

1
src/handle_wrap.cc

@ -9,7 +9,6 @@
namespace node {
using v8::Boolean;
using v8::Context;
using v8::FunctionCallbackInfo;
using v8::HandleScope;

2
src/node.cc

@ -127,8 +127,6 @@ using v8::PromiseRejectMessage;
using v8::PropertyCallbackInfo;
using v8::ScriptOrigin;
using v8::SealHandleScope;
using v8::StackFrame;
using v8::StackTrace;
using v8::String;
using v8::TryCatch;
using v8::Uint32;

1
src/node_buffer.cc

@ -71,7 +71,6 @@ using v8::Context;
using v8::EscapableHandleScope;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::HandleScope;
using v8::Integer;
using v8::Isolate;

2
src/node_config.cc

@ -11,8 +11,8 @@ namespace node {
using v8::Context;
using v8::Local;
using v8::Object;
using v8::Value;
using v8::ReadOnly;
using v8::Value;
// The config binding is used to provide an internal view of compile or runtime
// config options that are required internally by lib/*.js code. This is an

2
src/node_contextify.cc

@ -11,7 +11,6 @@
namespace node {
using v8::AccessType;
using v8::Array;
using v8::ArrayBuffer;
using v8::Boolean;
@ -30,7 +29,6 @@ using v8::Maybe;
using v8::MaybeLocal;
using v8::Name;
using v8::NamedPropertyHandlerConfiguration;
using v8::None;
using v8::Object;
using v8::ObjectTemplate;
using v8::Persistent;

1
src/node_v8.cc

@ -20,7 +20,6 @@ using v8::NewStringType;
using v8::Object;
using v8::String;
using v8::Uint32;
using v8::Uint32Array;
using v8::V8;
using v8::Value;

3
src/node_watchdog.cc

@ -4,9 +4,6 @@
namespace node {
using v8::V8;
Watchdog::Watchdog(v8::Isolate* isolate, uint64_t ms) : isolate_(isolate),
destroyed_(false) {
int rc;

1
src/pipe_wrap.cc

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

5
src/stream_wrap.cc

@ -22,7 +22,6 @@
namespace node {
using v8::Array;
using v8::Context;
using v8::EscapableHandleScope;
using v8::FunctionCallbackInfo;
@ -30,12 +29,8 @@ using v8::FunctionTemplate;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Number;
using v8::Object;
using v8::PropertyCallbackInfo;
using v8::String;
using v8::True;
using v8::Undefined;
using v8::Value;

2
src/string_bytes.cc

@ -19,10 +19,10 @@ using v8::EscapableHandleScope;
using v8::HandleScope;
using v8::Isolate;
using v8::Local;
using v8::MaybeLocal;
using v8::Object;
using v8::String;
using v8::Value;
using v8::MaybeLocal;
template <typename ResourceType, typename TypeName>
class ExternString: public ResourceType {

1
src/tcp_wrap.cc

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

4
src/tls_wrap.cc

@ -15,8 +15,8 @@
namespace node {
using crypto::SSLWrap;
using crypto::SecureContext;
using crypto::SSLWrap;
using v8::Boolean;
using v8::Context;
using v8::EscapableHandleScope;
@ -24,9 +24,7 @@ using v8::Exception;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Integer;
using v8::Local;
using v8::Null;
using v8::Object;
using v8::String;
using v8::Value;

1
src/tty_wrap.cc

@ -21,7 +21,6 @@ using v8::FunctionTemplate;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::PropertyAttribute;
using v8::String;
using v8::Value;

2
src/util.cc

@ -6,8 +6,8 @@
namespace node {
using v8::Isolate;
using v8::String;
using v8::Local;
using v8::String;
using v8::Value;
static int MakeUtf8String(Isolate* isolate,

2
src/uv.cc

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

Loading…
Cancel
Save