Skip to content

Commit b8e2802

Browse files
cclausskkoopa
authored andcommitted
build/include --> build/include_subdir
1 parent cf3d7e0 commit b8e2802

16 files changed

Lines changed: 27 additions & 27 deletions

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ repos:
44
hooks:
55
- id: cpplint
66
args:
7-
- --filter=-build/include_subdir,-whitespace/indent_namespace,-whitespace/line_length,-whitespace/parens
7+
- --filter=-whitespace/indent_namespace,-whitespace/line_length,-whitespace/parens

examples/async_pi_estimate/addon.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
********************************************************************/
88

99
#include <nan.h>
10-
#include "sync.h" // NOLINT(build/include)
11-
#include "async.h" // NOLINT(build/include)
10+
#include "sync.h" // NOLINT(build/include_subdir)
11+
#include "async.h" // NOLINT(build/include_subdir)
1212

1313
using v8::FunctionTemplate;
1414
using v8::Object;

examples/async_pi_estimate/async.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
********************************************************************/
88

99
#include <nan.h>
10-
#include "pi_est.h" // NOLINT(build/include)
11-
#include "async.h" // NOLINT(build/include)
10+
#include "pi_est.h" // NOLINT(build/include_subdir)
11+
#include "async.h" // NOLINT(build/include_subdir)
1212

1313
using v8::Function;
1414
using v8::Local;

examples/async_pi_estimate/pi_est.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
********************************************************************/
88

99
#include <cstdlib>
10-
#include "pi_est.h" // NOLINT(build/include)
10+
#include "pi_est.h" // NOLINT(build/include_subdir)
1111

1212
/*
1313
Estimate the value of π by using a Monte Carlo method.

examples/async_pi_estimate/sync.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
********************************************************************/
88

99
#include <nan.h>
10-
#include "pi_est.h" // NOLINT(build/include)
11-
#include "sync.h" // NOLINT(build/include)
10+
#include "pi_est.h" // NOLINT(build/include_subdir)
11+
#include "sync.h" // NOLINT(build/include_subdir)
1212

1313
// Simple synchronous access to the `Estimate()` function
1414
NAN_METHOD(CalculateSync) {

nan.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ namespace Nan {
179179

180180
//=== CallbackInfo =============================================================
181181

182-
#include "nan_callbacks.h" // NOLINT(build/include)
182+
#include "nan_callbacks.h" // NOLINT(build/include_subdir)
183183

184184
//==============================================================================
185185

@@ -304,8 +304,8 @@ inline Maybe<T> Just(const T& t) {
304304
# include "nan_maybe_pre_43_inl.h" // NOLINT(build/include)
305305
#endif
306306

307-
#include "nan_converters.h" // NOLINT(build/include)
308-
#include "nan_new.h" // NOLINT(build/include)
307+
#include "nan_converters.h" // NOLINT(build/include_subdir)
308+
#include "nan_new.h" // NOLINT(build/include_subdir)
309309

310310
#if NAUV_UVVERSION < 0x000b17
311311
#define NAUV_WORK_CB(func) \
@@ -2934,15 +2934,15 @@ inline void SetCallAsFunctionHandler(
29342934

29352935
//=== Weak Persistent Handling =================================================
29362936

2937-
#include "nan_weak.h" // NOLINT(build/include)
2937+
#include "nan_weak.h" // NOLINT(build/include_subdir)
29382938

29392939
//=== ObjectWrap ===============================================================
29402940

2941-
#include "nan_object_wrap.h" // NOLINT(build/include)
2941+
#include "nan_object_wrap.h" // NOLINT(build/include_subdir)
29422942

29432943
//=== HiddenValue/Private ======================================================
29442944

2945-
#include "nan_private.h" // NOLINT(build/include)
2945+
#include "nan_private.h" // NOLINT(build/include_subdir)
29462946

29472947
//=== Export ==================================================================
29482948

@@ -3034,15 +3034,15 @@ MakeMaybe(MaybeMaybe<T> v) {
30343034

30353035
//=== TypedArrayContents =======================================================
30363036

3037-
#include "nan_typedarray_contents.h" // NOLINT(build/include)
3037+
#include "nan_typedarray_contents.h" // NOLINT(build/include_subdir)
30383038

30393039
//=== JSON =====================================================================
30403040

3041-
#include "nan_json.h" // NOLINT(build/include)
3041+
#include "nan_json.h" // NOLINT(build/include_subdir)
30423042

30433043
//=== ScriptOrigin =============================================================
30443044

3045-
#include "nan_scriptorigin.h" // NOLINT(build/include)
3045+
#include "nan_scriptorigin.h" // NOLINT(build/include_subdir)
30463046

30473047
} // end of namespace Nan
30483048

nan_maybe_43_inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ inline Maybe<bool> Set(
9090
}
9191

9292
#if NODE_MODULE_VERSION < NODE_4_0_MODULE_VERSION
93-
#include "nan_define_own_property_helper.h" // NOLINT(build/include)
93+
#include "nan_define_own_property_helper.h" // NOLINT(build/include_subdir)
9494
#endif
9595

9696
inline Maybe<bool> DefineOwnProperty(

nan_maybe_pre_43_inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ inline Maybe<bool> Set(
100100
return Just<bool>(obj->Set(index, value));
101101
}
102102

103-
#include "nan_define_own_property_helper.h" // NOLINT(build/include)
103+
#include "nan_define_own_property_helper.h" // NOLINT(build/include_subdir)
104104

105105
inline Maybe<bool> DefineOwnProperty(
106106
v8::Handle<v8::Object> obj

test/cpp/asyncprogressworker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <nan.h>
1010

11-
#include "sleep.h" // NOLINT(build/include)
11+
#include "sleep.h" // NOLINT(build/include_subdir)
1212

1313
using namespace Nan; // NOLINT(build/namespaces)
1414

test/cpp/asyncprogressworkersignal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <nan.h>
1010

11-
#include "sleep.h" // NOLINT(build/include)
11+
#include "sleep.h" // NOLINT(build/include_subdir)
1212

1313
using namespace Nan; // NOLINT(build/namespaces)
1414

0 commit comments

Comments
 (0)