Commit 25b0033
tools: refloat 7 Node.js patches to cpplint.py
Cherry-pick 12c8b4d
Original commit message:
This commit is a suggestion for adding a rule for NULL usages in the
code base. This will currently report a number of errors which could be
ignored using // NOLINT (readability/null_usage)
PR-URL: #17373
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Refs: 12c8b4d
Cherry-pick fc81e80
Original commit message:
Update cpplint.py to check for inline headers when the corresponding
header is already included.
PR-URL: #21521
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: fc81e80
Cherry-pick cbc3dd9
Original commit message:
src, tools: add check for left leaning pointers
This commit adds a rule to cpplint to check that pointers in the code
base lean to the left and not right, and also fixes the violations
reported.
PR-URL: #21010
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: cbc3dd9
Cherry-pick 9029981
Original commit message:
tools: fix cpplint.py header rules
THIS COMMIT SHOULD GO WITH THE NEXT. IT WILL FIND NEW LINT.
PR-URL: #26306
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Refs: 9029981
Cherry-pick 0a25ace
Original commit message:
tools: move cpplint configuration to .cpplint
PR-URL: #27098
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Refs: 0a25ace
Cherry-pick afa9a72
Original commit message:
tools: refloat update link to google styleguide for cpplint
This commit updates two old links to Google's C++ styleguide which
currently result in a 404 when accessed.
PR-URL: #30876
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Refs: afa9a72
Cherry-pick e23bf8f
Original commit message:
tools,src: refloat forbid usage of v8::Persistent
`v8::Persistent` comes with the surprising catch that it requires
manual cleanup. `v8::Global` doesn’t, making it easier to use,
and additionally provides move semantics. New code should always
use `v8::Global`.
PR-URL: #31018
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
PR-URL: #35569
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
PR-URL: #35719
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #35866
PR-URL: #36213
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #36235
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #36324
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
PR-URL: #38851
Reviewed-By: Khaidi Chu <i@2333.moe>
PR-URL: #42416
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: #48098
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent 87b36b3 commit 25b0033Copy full SHA for 25b0033
File tree
Expand file treeCollapse file tree
1 file changed
+109
-12
lines changedOpen diff view settings
Filter options
- tools
Expand file treeCollapse file tree
1 file changed
+109
-12
lines changedOpen diff view settings
Collapse file
+109-12Lines changed: 109 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
302 | 302 | |
303 | 303 | |
304 | 304 | |
| 305 | + |
305 | 306 | |
306 | 307 | |
307 | 308 | |
| ||
317 | 318 | |
318 | 319 | |
319 | 320 | |
| 321 | + |
320 | 322 | |
321 | 323 | |
322 | 324 | |
323 | 325 | |
324 | 326 | |
| 327 | + |
325 | 328 | |
326 | 329 | |
327 | 330 | |
| ||
341 | 344 | |
342 | 345 | |
343 | 346 | |
| 347 | + |
344 | 348 | |
345 | 349 | |
346 | 350 | |
| ||
871 | 875 | |
872 | 876 | |
873 | 877 | |
| 878 | + |
| 879 | + |
| 880 | + |
| 881 | + |
| 882 | + |
| 883 | + |
| 884 | + |
| 885 | + |
874 | 886 | |
875 | 887 | |
876 | 888 | |
| ||
1115 | 1127 | |
1116 | 1128 | |
1117 | 1129 | |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
| 1130 | + |
| 1131 | + |
| 1132 | + |
| 1133 | + |
| 1134 | + |
1122 | 1135 | |
1123 | 1136 | |
1124 | 1137 | |
| ||
2555 | 2568 | |
2556 | 2569 | |
2557 | 2570 | |
| 2571 | + |
| 2572 | + |
| 2573 | + |
| 2574 | + |
| 2575 | + |
| 2576 | + |
| 2577 | + |
| 2578 | + |
| 2579 | + |
| 2580 | + |
| 2581 | + |
| 2582 | + |
| 2583 | + |
| 2584 | + |
| 2585 | + |
2558 | 2586 | |
2559 | 2587 | |
2560 | 2588 | |
| ||
3578 | 3606 | |
3579 | 3607 | |
3580 | 3608 | |
3581 | | - |
| 3609 | + |
3582 | 3610 | |
3583 | 3611 | |
3584 | 3612 | |
| ||
4805 | 4833 | |
4806 | 4834 | |
4807 | 4835 | |
| 4836 | + |
| 4837 | + |
| 4838 | + |
| 4839 | + |
| 4840 | + |
| 4841 | + |
| 4842 | + |
| 4843 | + |
| 4844 | + |
| 4845 | + |
| 4846 | + |
| 4847 | + |
| 4848 | + |
| 4849 | + |
| 4850 | + |
| 4851 | + |
| 4852 | + |
| 4853 | + |
| 4854 | + |
| 4855 | + |
| 4856 | + |
| 4857 | + |
| 4858 | + |
| 4859 | + |
| 4860 | + |
| 4861 | + |
| 4862 | + |
| 4863 | + |
| 4864 | + |
| 4865 | + |
| 4866 | + |
| 4867 | + |
| 4868 | + |
| 4869 | + |
| 4870 | + |
| 4871 | + |
| 4872 | + |
| 4873 | + |
| 4874 | + |
| 4875 | + |
| 4876 | + |
| 4877 | + |
| 4878 | + |
| 4879 | + |
| 4880 | + |
| 4881 | + |
| 4882 | + |
| 4883 | + |
| 4884 | + |
| 4885 | + |
| 4886 | + |
| 4887 | + |
| 4888 | + |
| 4889 | + |
| 4890 | + |
| 4891 | + |
| 4892 | + |
| 4893 | + |
| 4894 | + |
| 4895 | + |
| 4896 | + |
| 4897 | + |
| 4898 | + |
| 4899 | + |
| 4900 | + |
4808 | 4901 | |
4809 | 4902 | |
4810 | 4903 | |
| ||
4959 | 5052 | |
4960 | 5053 | |
4961 | 5054 | |
| 5055 | + |
| 5056 | + |
| 5057 | + |
4962 | 5058 | |
4963 | 5059 | |
4964 | 5060 | |
| ||
5147 | 5243 | |
5148 | 5244 | |
5149 | 5245 | |
5150 | | - |
5151 | | - |
5152 | | - |
5153 | | - |
5154 | | - |
| 5246 | + |
| 5247 | + |
| 5248 | + |
| 5249 | + |
5155 | 5250 | |
5156 | 5251 | |
5157 | 5252 | |
| ||
5414 | 5509 | |
5415 | 5510 | |
5416 | 5511 | |
5417 | | - |
| 5512 | + |
5418 | 5513 | |
5419 | 5514 | |
5420 | 5515 | |
| ||
6537 | 6632 | |
6538 | 6633 | |
6539 | 6634 | |
| 6635 | + |
| 6636 | + |
6540 | 6637 | |
6541 | 6638 | |
6542 | 6639 | |
| ||
6555 | 6652 | |
6556 | 6653 | |
6557 | 6654 | |
6558 | | - |
| 6655 | + |
6559 | 6656 | |
6560 | 6657 | |
6561 | 6658 | |
|
0 commit comments