Browse Source

src: fix readability/namespace cpplint warnings

PR-URL: https://github.com/nodejs/node/pull/7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v7.x
Ben Noordhuis 9 years ago
parent
commit
0ba0eca986
  1. 3
      src/node_win32_etw_provider.cc
  2. 3
      src/spawn_sync.h
  3. 5
      src/string_search.cc
  4. 4
      src/string_search.h
  5. 2
      test/addons/make-callback-recurse/binding.cc
  6. 2
      test/addons/make-callback/binding.cc

3
src/node_win32_etw_provider.cc

@ -187,4 +187,5 @@ void shutdown_etw() {
advapi = nullptr;
}
}
}
} // namespace node

3
src/spawn_sync.h

@ -222,7 +222,8 @@ class SyncProcessRunner {
Environment* env_;
};
}
} // namespace node
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

5
src/string_search.cc

@ -6,5 +6,6 @@ namespace stringsearch {
int StringSearchBase::kBadCharShiftTable[kUC16AlphabetSize];
int StringSearchBase::kGoodSuffixShiftTable[kBMMaxShift + 1];
int StringSearchBase::kSuffixTable[kBMMaxShift + 1];
}
} // namespace node::stringsearch
} // namespace stringsearch
} // namespace node

4
src/string_search.h

@ -623,8 +623,8 @@ size_t SearchString(Vector<const Char> subject,
StringSearch<Char> search(pattern);
return search.Search(subject, start_index);
}
}
} // namespace node::stringsearch
} // namespace stringsearch
} // namespace node
namespace node {
using node::stringsearch::Vector;

2
test/addons/make-callback-recurse/binding.cc

@ -26,6 +26,6 @@ void Initialize(Local<Object> target) {
NODE_SET_METHOD(target, "makeCallback", MakeCallback);
}
} // namespace anonymous
} // namespace
NODE_MODULE(binding, Initialize)

2
test/addons/make-callback/binding.cc

@ -35,6 +35,6 @@ void Initialize(v8::Local<v8::Object> target) {
NODE_SET_METHOD(target, "makeCallback", MakeCallback);
}
} // namespace anonymous
} // namespace
NODE_MODULE(binding, Initialize)

Loading…
Cancel
Save