Commit 66da122
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>1 parent 042d4dd commit 66da122Copy full SHA for 66da122
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 |
|---|---|---|
| ||
280 | 280 | |
281 | 281 | |
282 | 282 | |
| 283 | + |
283 | 284 | |
284 | 285 | |
285 | 286 | |
| ||
294 | 295 | |
295 | 296 | |
296 | 297 | |
| 298 | + |
297 | 299 | |
298 | 300 | |
299 | 301 | |
300 | 302 | |
301 | 303 | |
| 304 | + |
302 | 305 | |
303 | 306 | |
304 | 307 | |
| ||
318 | 321 | |
319 | 322 | |
320 | 323 | |
| 324 | + |
321 | 325 | |
322 | 326 | |
323 | 327 | |
| ||
737 | 741 | |
738 | 742 | |
739 | 743 | |
| 744 | + |
| 745 | + |
| 746 | + |
| 747 | + |
| 748 | + |
| 749 | + |
| 750 | + |
| 751 | + |
740 | 752 | |
741 | 753 | |
742 | 754 | |
| ||
756 | 768 | |
757 | 769 | |
758 | 770 | |
759 | | - |
| 771 | + |
760 | 772 | |
761 | 773 | |
762 | 774 | |
| ||
965 | 977 | |
966 | 978 | |
967 | 979 | |
968 | | - |
969 | | - |
970 | | - |
971 | | - |
| 980 | + |
| 981 | + |
| 982 | + |
| 983 | + |
| 984 | + |
972 | 985 | |
973 | 986 | |
974 | 987 | |
| ||
2386 | 2399 | |
2387 | 2400 | |
2388 | 2401 | |
| 2402 | + |
| 2403 | + |
| 2404 | + |
| 2405 | + |
| 2406 | + |
| 2407 | + |
| 2408 | + |
| 2409 | + |
| 2410 | + |
| 2411 | + |
| 2412 | + |
| 2413 | + |
| 2414 | + |
| 2415 | + |
| 2416 | + |
2389 | 2417 | |
2390 | 2418 | |
2391 | 2419 | |
| ||
3409 | 3437 | |
3410 | 3438 | |
3411 | 3439 | |
3412 | | - |
| 3440 | + |
3413 | 3441 | |
3414 | 3442 | |
3415 | 3443 | |
| ||
4635 | 4663 | |
4636 | 4664 | |
4637 | 4665 | |
| 4666 | + |
| 4667 | + |
| 4668 | + |
| 4669 | + |
| 4670 | + |
| 4671 | + |
| 4672 | + |
| 4673 | + |
| 4674 | + |
| 4675 | + |
| 4676 | + |
| 4677 | + |
| 4678 | + |
| 4679 | + |
| 4680 | + |
| 4681 | + |
| 4682 | + |
| 4683 | + |
| 4684 | + |
| 4685 | + |
| 4686 | + |
| 4687 | + |
| 4688 | + |
| 4689 | + |
| 4690 | + |
| 4691 | + |
| 4692 | + |
| 4693 | + |
| 4694 | + |
| 4695 | + |
| 4696 | + |
| 4697 | + |
| 4698 | + |
| 4699 | + |
| 4700 | + |
| 4701 | + |
| 4702 | + |
| 4703 | + |
| 4704 | + |
| 4705 | + |
| 4706 | + |
| 4707 | + |
| 4708 | + |
| 4709 | + |
| 4710 | + |
| 4711 | + |
| 4712 | + |
| 4713 | + |
| 4714 | + |
| 4715 | + |
| 4716 | + |
| 4717 | + |
| 4718 | + |
| 4719 | + |
| 4720 | + |
| 4721 | + |
| 4722 | + |
| 4723 | + |
| 4724 | + |
| 4725 | + |
| 4726 | + |
| 4727 | + |
| 4728 | + |
| 4729 | + |
| 4730 | + |
4638 | 4731 | |
4639 | 4732 | |
4640 | 4733 | |
| ||
4789 | 4882 | |
4790 | 4883 | |
4791 | 4884 | |
| 4885 | + |
| 4886 | + |
| 4887 | + |
4792 | 4888 | |
4793 | 4889 | |
4794 | 4890 | |
| ||
4972 | 5068 | |
4973 | 5069 | |
4974 | 5070 | |
4975 | | - |
4976 | | - |
4977 | | - |
4978 | | - |
4979 | | - |
| 5071 | + |
| 5072 | + |
| 5073 | + |
| 5074 | + |
4980 | 5075 | |
4981 | 5076 | |
4982 | 5077 | |
| ||
5239 | 5334 | |
5240 | 5335 | |
5241 | 5336 | |
5242 | | - |
| 5337 | + |
5243 | 5338 | |
5244 | 5339 | |
5245 | 5340 | |
| ||
6361 | 6456 | |
6362 | 6457 | |
6363 | 6458 | |
| 6459 | + |
| 6460 | + |
6364 | 6461 | |
6365 | 6462 | |
6366 | 6463 | |
| ||
6379 | 6476 | |
6380 | 6477 | |
6381 | 6478 | |
6382 | | - |
| 6479 | + |
6383 | 6480 | |
6384 | 6481 | |
6385 | 6482 | |
|
0 commit comments