Commit c09fdba
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: #358661 parent 3955ccd commit c09fdbaCopy full SHA for c09fdba
File tree
Expand file treeCollapse file tree
1 file changed
+110
-13
lines changedOpen diff view settings
Filter options
- tools
Expand file treeCollapse file tree
1 file changed
+110
-13
lines changedOpen diff view settings
Collapse file
+110-13Lines changed: 110 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
290 | 290 | |
291 | 291 | |
292 | 292 | |
| 293 | + |
293 | 294 | |
294 | 295 | |
295 | 296 | |
| ||
304 | 305 | |
305 | 306 | |
306 | 307 | |
| 308 | + |
307 | 309 | |
308 | 310 | |
309 | 311 | |
310 | 312 | |
311 | 313 | |
| 314 | + |
312 | 315 | |
313 | 316 | |
314 | 317 | |
| ||
328 | 331 | |
329 | 332 | |
330 | 333 | |
| 334 | + |
331 | 335 | |
332 | 336 | |
333 | 337 | |
| ||
813 | 817 | |
814 | 818 | |
815 | 819 | |
| 820 | + |
| 821 | + |
| 822 | + |
| 823 | + |
| 824 | + |
| 825 | + |
| 826 | + |
| 827 | + |
816 | 828 | |
817 | 829 | |
818 | 830 | |
| ||
832 | 844 | |
833 | 845 | |
834 | 846 | |
835 | | - |
| 847 | + |
836 | 848 | |
837 | 849 | |
838 | 850 | |
| ||
1053 | 1065 | |
1054 | 1066 | |
1055 | 1067 | |
1056 | | - |
1057 | | - |
1058 | | - |
1059 | | - |
| 1068 | + |
| 1069 | + |
| 1070 | + |
| 1071 | + |
| 1072 | + |
1060 | 1073 | |
1061 | 1074 | |
1062 | 1075 | |
| ||
2474 | 2487 | |
2475 | 2488 | |
2476 | 2489 | |
| 2490 | + |
| 2491 | + |
| 2492 | + |
| 2493 | + |
| 2494 | + |
| 2495 | + |
| 2496 | + |
| 2497 | + |
| 2498 | + |
| 2499 | + |
| 2500 | + |
| 2501 | + |
| 2502 | + |
| 2503 | + |
| 2504 | + |
2477 | 2505 | |
2478 | 2506 | |
2479 | 2507 | |
| ||
3497 | 3525 | |
3498 | 3526 | |
3499 | 3527 | |
3500 | | - |
| 3528 | + |
3501 | 3529 | |
3502 | 3530 | |
3503 | 3531 | |
| ||
4723 | 4751 | |
4724 | 4752 | |
4725 | 4753 | |
| 4754 | + |
| 4755 | + |
| 4756 | + |
| 4757 | + |
| 4758 | + |
| 4759 | + |
| 4760 | + |
| 4761 | + |
| 4762 | + |
| 4763 | + |
| 4764 | + |
| 4765 | + |
| 4766 | + |
| 4767 | + |
| 4768 | + |
| 4769 | + |
| 4770 | + |
| 4771 | + |
| 4772 | + |
| 4773 | + |
| 4774 | + |
| 4775 | + |
| 4776 | + |
| 4777 | + |
| 4778 | + |
| 4779 | + |
| 4780 | + |
| 4781 | + |
| 4782 | + |
| 4783 | + |
| 4784 | + |
| 4785 | + |
| 4786 | + |
| 4787 | + |
| 4788 | + |
| 4789 | + |
| 4790 | + |
| 4791 | + |
| 4792 | + |
| 4793 | + |
| 4794 | + |
| 4795 | + |
| 4796 | + |
| 4797 | + |
| 4798 | + |
| 4799 | + |
| 4800 | + |
| 4801 | + |
| 4802 | + |
| 4803 | + |
| 4804 | + |
| 4805 | + |
| 4806 | + |
| 4807 | + |
| 4808 | + |
| 4809 | + |
| 4810 | + |
| 4811 | + |
| 4812 | + |
| 4813 | + |
| 4814 | + |
| 4815 | + |
| 4816 | + |
| 4817 | + |
| 4818 | + |
4726 | 4819 | |
4727 | 4820 | |
4728 | 4821 | |
| ||
4877 | 4970 | |
4878 | 4971 | |
4879 | 4972 | |
| 4973 | + |
| 4974 | + |
| 4975 | + |
4880 | 4976 | |
4881 | 4977 | |
4882 | 4978 | |
| ||
5062 | 5158 | |
5063 | 5159 | |
5064 | 5160 | |
5065 | | - |
5066 | | - |
5067 | | - |
5068 | | - |
5069 | | - |
| 5161 | + |
| 5162 | + |
| 5163 | + |
| 5164 | + |
5070 | 5165 | |
5071 | 5166 | |
5072 | 5167 | |
| ||
5329 | 5424 | |
5330 | 5425 | |
5331 | 5426 | |
5332 | | - |
| 5427 | + |
5333 | 5428 | |
5334 | 5429 | |
5335 | 5430 | |
| ||
6451 | 6546 | |
6452 | 6547 | |
6453 | 6548 | |
| 6549 | + |
| 6550 | + |
6454 | 6551 | |
6455 | 6552 | |
6456 | 6553 | |
| ||
6469 | 6566 | |
6470 | 6567 | |
6471 | 6568 | |
6472 | | - |
| 6569 | + |
6473 | 6570 | |
6474 | 6571 | |
6475 | 6572 | |
|
0 commit comments