Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 564aade

Browse filesBrowse files
Trotttargos
authored andcommitted
doc,src,test: revise C++ code for linter update
PR-URL: #35719 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 05a888a commit 564aade
Copy full SHA for 564aade

File tree

Expand file treeCollapse file tree

9 files changed

+16
-16
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

9 files changed

+16
-16
lines changed
Open diff view settings
Collapse file

‎doc/api/addons.md‎

Copy file name to clipboardExpand all lines: doc/api/addons.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ The following `addon.cc` uses `AddEnvironmentCleanupHook`:
271271

272272
```cpp
273273
// addon.cc
274+
#include <node.h>
274275
#include <assert.h>
275276
#include <stdlib.h>
276-
#include <node.h>
277277

278278
using node::AddEnvironmentCleanupHook;
279279
using v8::HandleScope;
Collapse file

‎src/node_report.cc‎

Copy file name to clipboardExpand all lines: src/node_report.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#ifdef _WIN32
1313
#include <Windows.h>
1414
#else // !_WIN32
15-
#include <sys/resource.h>
1615
#include <cxxabi.h>
16+
#include <sys/resource.h>
1717
#include <dlfcn.h>
1818
#endif
1919

Collapse file

‎test/addons/async-cleanup-hook/binding.cc‎

Copy file name to clipboardExpand all lines: test/addons/async-cleanup-hook/binding.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <assert.h>
21
#include <node.h>
32
#include <uv.h>
3+
#include <assert.h>
44

55
void MustNotCall(void* arg, void(*cb)(void*), void* cbarg) {
66
assert(0);
Collapse file

‎test/addons/openssl-binding/binding.cc‎

Copy file name to clipboardExpand all lines: test/addons/openssl-binding/binding.cc
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#include <node.h>
2-
#include <assert.h>
31
#include <openssl/rand.h>
42
#include <openssl/ssl.h>
3+
#include <node.h>
4+
#include <assert.h>
55

66
namespace {
77

Collapse file

‎test/addons/openssl-client-cert-engine/testengine.cc‎

Copy file name to clipboardExpand all lines: test/addons/openssl-client-cert-engine/testengine.cc
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
#include <openssl/engine.h>
2+
#include <openssl/pem.h>
3+
14
#include <assert.h>
25
#include <string.h>
36
#include <stdlib.h>
47

5-
#include <openssl/engine.h>
6-
#include <openssl/pem.h>
7-
88
#include <fstream>
99
#include <iterator>
1010
#include <string>
Collapse file

‎test/addons/openssl-key-engine/testkeyengine.cc‎

Copy file name to clipboardExpand all lines: test/addons/openssl-key-engine/testkeyengine.cc
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
#include <openssl/engine.h>
2+
#include <openssl/pem.h>
3+
14
#include <assert.h>
25
#include <string.h>
36
#include <stdlib.h>
47

5-
#include <openssl/engine.h>
6-
#include <openssl/pem.h>
7-
88
#include <fstream>
99
#include <iterator>
1010
#include <string>
Collapse file

‎test/addons/stringbytes-external-exceed-max/binding.cc‎

Copy file name to clipboardExpand all lines: test/addons/stringbytes-external-exceed-max/binding.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <stdlib.h>
21
#include <node.h>
32
#include <v8.h>
3+
#include <stdlib.h>
44

55
#ifdef _AIX
66
// AIX allows over-allocation, and will SIGKILL when the allocated pages are
Collapse file

‎test/addons/worker-addon/binding.cc‎

Copy file name to clipboardExpand all lines: test/addons/worker-addon/binding.cc
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include <assert.h>
21
#include <node.h>
3-
#include <stdio.h>
4-
#include <stdlib.h>
52
#include <v8.h>
63
#include <uv.h>
4+
#include <assert.h>
5+
#include <stdio.h>
6+
#include <stdlib.h>
77

88
using v8::Context;
99
using v8::Function;
Collapse file

‎test/addons/zlib-binding/binding.cc‎

Copy file name to clipboardExpand all lines: test/addons/zlib-binding/binding.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <node.h>
22
#include <node_buffer.h>
3-
#include <assert.h>
43
#include <zlib.h>
4+
#include <assert.h>
55

66
namespace {
77

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.