mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: remove obsolete NOLINT comments
Obsoleted by the recent cpplint upgrade. PR-URL: https://github.com/nodejs/node/pull/7462 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
@@ -1248,9 +1248,7 @@ void Swap64(const FunctionCallbackInfo<Value>& args) {
|
||||
std::swap(ts_obj_data[i], ts_obj_data[i + 7]);
|
||||
std::swap(ts_obj_data[i + 1], ts_obj_data[i + 6]);
|
||||
std::swap(ts_obj_data[i + 2], ts_obj_data[i + 5]);
|
||||
// NOLINT added because current cpplint.py is old and doesn't know that
|
||||
// std::swap() now lives in <utility> instead of <algorithm>.
|
||||
std::swap(ts_obj_data[i + 3], ts_obj_data[i + 4]); // NOLINT
|
||||
std::swap(ts_obj_data[i + 3], ts_obj_data[i + 4]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ class StreamBase : public StreamResource {
|
||||
const v8::PropertyCallbackInfo<v8::Value>& args);
|
||||
|
||||
template <class Base,
|
||||
int (StreamBase::*Method)( // NOLINT(whitespace/parens)
|
||||
int (StreamBase::*Method)(
|
||||
const v8::FunctionCallbackInfo<v8::Value>& args)>
|
||||
static void JSMethod(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ class StringSearch : private StringSearchBase {
|
||||
}
|
||||
|
||||
private:
|
||||
typedef size_t (*SearchFunction)( // NOLINT - it's not a cast!
|
||||
typedef size_t (*SearchFunction)(
|
||||
StringSearch<Char>*,
|
||||
Vector<const Char>,
|
||||
size_t);
|
||||
|
||||
Reference in New Issue
Block a user