Commit 425cf74
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]>
PR-URL: #36324
Reviewed-By: Beth Griggs <[email protected]>
PR-URL: #38851
Reviewed-By: Khaidi Chu <[email protected]>
PR-URL: #42416
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>1 parent 3d67759 commit 425cf74
1 file changed
+109
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| 325 | + | |
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
| |||
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
| 345 | + | |
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
| |||
847 | 851 | | |
848 | 852 | | |
849 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
850 | 862 | | |
851 | 863 | | |
852 | 864 | | |
| |||
1087 | 1099 | | |
1088 | 1100 | | |
1089 | 1101 | | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1094 | 1107 | | |
1095 | 1108 | | |
1096 | 1109 | | |
| |||
2527 | 2540 | | |
2528 | 2541 | | |
2529 | 2542 | | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
2530 | 2558 | | |
2531 | 2559 | | |
2532 | 2560 | | |
| |||
3550 | 3578 | | |
3551 | 3579 | | |
3552 | 3580 | | |
3553 | | - | |
| 3581 | + | |
3554 | 3582 | | |
3555 | 3583 | | |
3556 | 3584 | | |
| |||
4777 | 4805 | | |
4778 | 4806 | | |
4779 | 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 | + | |
| 4865 | + | |
| 4866 | + | |
| 4867 | + | |
| 4868 | + | |
| 4869 | + | |
| 4870 | + | |
| 4871 | + | |
| 4872 | + | |
4780 | 4873 | | |
4781 | 4874 | | |
4782 | 4875 | | |
| |||
4931 | 5024 | | |
4932 | 5025 | | |
4933 | 5026 | | |
| 5027 | + | |
| 5028 | + | |
| 5029 | + | |
4934 | 5030 | | |
4935 | 5031 | | |
4936 | 5032 | | |
| |||
5118 | 5214 | | |
5119 | 5215 | | |
5120 | 5216 | | |
5121 | | - | |
5122 | | - | |
5123 | | - | |
5124 | | - | |
5125 | | - | |
| 5217 | + | |
| 5218 | + | |
| 5219 | + | |
| 5220 | + | |
5126 | 5221 | | |
5127 | 5222 | | |
5128 | 5223 | | |
| |||
5385 | 5480 | | |
5386 | 5481 | | |
5387 | 5482 | | |
5388 | | - | |
| 5483 | + | |
5389 | 5484 | | |
5390 | 5485 | | |
5391 | 5486 | | |
| |||
6507 | 6602 | | |
6508 | 6603 | | |
6509 | 6604 | | |
| 6605 | + | |
| 6606 | + | |
6510 | 6607 | | |
6511 | 6608 | | |
6512 | 6609 | | |
| |||
6525 | 6622 | | |
6526 | 6623 | | |
6527 | 6624 | | |
6528 | | - | |
| 6625 | + | |
6529 | 6626 | | |
6530 | 6627 | | |
6531 | 6628 | | |
| |||
0 commit comments