Commit adf4f90
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>1 parent 1173efc commit adf4f90Copy full SHA for adf4f90
File tree
Expand file treeCollapse file tree
1 file changed
+109
-13
lines changedOpen diff view settings
Filter options
- tools
Expand file treeCollapse file tree
1 file changed
+109
-13
lines changedOpen diff view settings
Collapse file
+109-13Lines changed: 109 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 | |
| ||
622 | 626 | |
623 | 627 | |
624 | 628 | |
| 629 | + |
| 630 | + |
| 631 | + |
| 632 | + |
| 633 | + |
| 634 | + |
| 635 | + |
| 636 | + |
625 | 637 | |
626 | 638 | |
627 | 639 | |
| ||
641 | 653 | |
642 | 654 | |
643 | 655 | |
644 | | - |
| 656 | + |
645 | 657 | |
646 | 658 | |
647 | 659 | |
| ||
850 | 862 | |
851 | 863 | |
852 | 864 | |
853 | | - |
854 | | - |
855 | | - |
| 865 | + |
| 866 | + |
| 867 | + |
856 | 868 | |
857 | 869 | |
858 | 870 | |
| ||
864 | 876 | |
865 | 877 | |
866 | 878 | |
| 879 | + |
867 | 880 | |
868 | 881 | |
869 | | - |
870 | 882 | |
871 | 883 | |
872 | 884 | |
| ||
2262 | 2274 | |
2263 | 2275 | |
2264 | 2276 | |
| 2277 | + |
| 2278 | + |
| 2279 | + |
| 2280 | + |
| 2281 | + |
| 2282 | + |
| 2283 | + |
| 2284 | + |
| 2285 | + |
| 2286 | + |
| 2287 | + |
| 2288 | + |
| 2289 | + |
| 2290 | + |
| 2291 | + |
2265 | 2292 | |
2266 | 2293 | |
2267 | 2294 | |
| ||
3285 | 3312 | |
3286 | 3313 | |
3287 | 3314 | |
3288 | | - |
| 3315 | + |
3289 | 3316 | |
3290 | 3317 | |
3291 | 3318 | |
| ||
4511 | 4538 | |
4512 | 4539 | |
4513 | 4540 | |
| 4541 | + |
| 4542 | + |
| 4543 | + |
| 4544 | + |
| 4545 | + |
| 4546 | + |
| 4547 | + |
| 4548 | + |
| 4549 | + |
| 4550 | + |
| 4551 | + |
| 4552 | + |
| 4553 | + |
| 4554 | + |
| 4555 | + |
| 4556 | + |
| 4557 | + |
| 4558 | + |
| 4559 | + |
| 4560 | + |
| 4561 | + |
| 4562 | + |
| 4563 | + |
| 4564 | + |
| 4565 | + |
| 4566 | + |
| 4567 | + |
| 4568 | + |
| 4569 | + |
| 4570 | + |
| 4571 | + |
| 4572 | + |
| 4573 | + |
| 4574 | + |
| 4575 | + |
| 4576 | + |
| 4577 | + |
| 4578 | + |
| 4579 | + |
| 4580 | + |
| 4581 | + |
| 4582 | + |
| 4583 | + |
| 4584 | + |
| 4585 | + |
| 4586 | + |
| 4587 | + |
| 4588 | + |
| 4589 | + |
| 4590 | + |
| 4591 | + |
| 4592 | + |
| 4593 | + |
| 4594 | + |
| 4595 | + |
| 4596 | + |
| 4597 | + |
| 4598 | + |
| 4599 | + |
| 4600 | + |
| 4601 | + |
| 4602 | + |
| 4603 | + |
| 4604 | + |
| 4605 | + |
4514 | 4606 | |
4515 | 4607 | |
4516 | 4608 | |
| ||
4665 | 4757 | |
4666 | 4758 | |
4667 | 4759 | |
| 4760 | + |
| 4761 | + |
| 4762 | + |
4668 | 4763 | |
4669 | 4764 | |
4670 | 4765 | |
| ||
4841 | 4936 | |
4842 | 4937 | |
4843 | 4938 | |
4844 | | - |
4845 | | - |
4846 | | - |
4847 | | - |
4848 | | - |
| 4939 | + |
| 4940 | + |
| 4941 | + |
| 4942 | + |
4849 | 4943 | |
4850 | 4944 | |
4851 | 4945 | |
| ||
5108 | 5202 | |
5109 | 5203 | |
5110 | 5204 | |
5111 | | - |
| 5205 | + |
5112 | 5206 | |
5113 | 5207 | |
5114 | 5208 | |
| ||
6230 | 6324 | |
6231 | 6325 | |
6232 | 6326 | |
| 6327 | + |
| 6328 | + |
6233 | 6329 | |
6234 | 6330 | |
6235 | 6331 | |
| ||
6248 | 6344 | |
6249 | 6345 | |
6250 | 6346 | |
6251 | | - |
| 6347 | + |
6252 | 6348 | |
6253 | 6349 | |
6254 | 6350 | |
|
0 commit comments