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>
v4.x
Ben Noordhuis 9 years ago
committed by Myles Borins
parent
commit
4748bed736
  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

@ -219,6 +219,7 @@ class SyncProcessRunner {
Environment* env_;
};
}
} // namespace node
#endif // SRC_SPAWN_SYNC_H_

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

@ -650,8 +650,8 @@ size_t SearchString(Vector<const SubjectChar> subject,
StringSearch<PatternChar, SubjectChar> 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