Commit afce467
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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
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 <[email protected]>
Refs: 9029981
Cherry-pick 0a25ace
Original commit message:
tools: move cpplint configuration to .cpplint
PR-URL: #27098
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
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 <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
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 <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Stephen Belanger <[email protected]>
PR-URL: #35569
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
PR-URL: #35719
Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #35866
PR-URL: #36213
Reviewed-By: Franziska Hinkelmann <[email protected]>
PR-URL: #36235
Reviewed-By: Luigi Pinca <[email protected]>1 parent 78275b7 commit afce467
1 file changed
+109
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| |||
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| 314 | + | |
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| 320 | + | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
| |||
334 | 337 | | |
335 | 338 | | |
336 | 339 | | |
| 340 | + | |
337 | 341 | | |
338 | 342 | | |
339 | 343 | | |
| |||
842 | 846 | | |
843 | 847 | | |
844 | 848 | | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
845 | 857 | | |
846 | 858 | | |
847 | 859 | | |
| |||
1082 | 1094 | | |
1083 | 1095 | | |
1084 | 1096 | | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
1089 | 1102 | | |
1090 | 1103 | | |
1091 | 1104 | | |
| |||
2520 | 2533 | | |
2521 | 2534 | | |
2522 | 2535 | | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
2523 | 2551 | | |
2524 | 2552 | | |
2525 | 2553 | | |
| |||
3543 | 3571 | | |
3544 | 3572 | | |
3545 | 3573 | | |
3546 | | - | |
| 3574 | + | |
3547 | 3575 | | |
3548 | 3576 | | |
3549 | 3577 | | |
| |||
4769 | 4797 | | |
4770 | 4798 | | |
4771 | 4799 | | |
| 4800 | + | |
| 4801 | + | |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
| 4805 | + | |
| 4806 | + | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 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 | + | |
4772 | 4865 | | |
4773 | 4866 | | |
4774 | 4867 | | |
| |||
4923 | 5016 | | |
4924 | 5017 | | |
4925 | 5018 | | |
| 5019 | + | |
| 5020 | + | |
| 5021 | + | |
4926 | 5022 | | |
4927 | 5023 | | |
4928 | 5024 | | |
| |||
5108 | 5204 | | |
5109 | 5205 | | |
5110 | 5206 | | |
5111 | | - | |
5112 | | - | |
5113 | | - | |
5114 | | - | |
5115 | | - | |
| 5207 | + | |
| 5208 | + | |
| 5209 | + | |
| 5210 | + | |
5116 | 5211 | | |
5117 | 5212 | | |
5118 | 5213 | | |
| |||
5375 | 5470 | | |
5376 | 5471 | | |
5377 | 5472 | | |
5378 | | - | |
| 5473 | + | |
5379 | 5474 | | |
5380 | 5475 | | |
5381 | 5476 | | |
| |||
6497 | 6592 | | |
6498 | 6593 | | |
6499 | 6594 | | |
| 6595 | + | |
| 6596 | + | |
6500 | 6597 | | |
6501 | 6598 | | |
6502 | 6599 | | |
| |||
6515 | 6612 | | |
6516 | 6613 | | |
6517 | 6614 | | |
6518 | | - | |
| 6615 | + | |
6519 | 6616 | | |
6520 | 6617 | | |
6521 | 6618 | | |
| |||
6897 | 6994 | | |
6898 | 6995 | | |
6899 | 6996 | | |
6900 | | - | |
| |||
0 commit comments