gecko-dev/docs
Bobby Holley 02e9792c14 Bug 1740616 - Modify the C++ style guide to prefer unsigned types and CheckedInt. r=glandium DONTBUILD
This commit resolves the question posed in [1], largely on the basis of
the rationale put forth by emilio [2].

The reasons cited for using signed types boil down to (1) taking
advantage of UB optimizations, (2) more tractable dynamic overflow
analysis, and (3) increased chance of the surrounding logic identifying
and rejecting overflowed values.

Emilio points out that (1) is not a durable advantage. I see some value
in (2) and (3), but I see more value in consistency with existing code
and clear communication of semantic intent to the reader.

[1] https://groups.google.com/a/mozilla.org/g/dev-platform/c/-h_2cz5APmY/
[2] https://groups.google.com/a/mozilla.org/g/dev-platform/c/-h_2cz5APmY/m/NPdl2uIhAgAJ

Differential Revision: https://phabricator.services.mozilla.com/D130928
2021-11-16 19:38:01 +00:00
..
_static Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal 2021-11-03 10:45:52 +00:00
bug-mgmt Bug 1714788 - doc: Fix 'undefined label: firefox status flags' r=firefox-source-docs-reviewers,championshuttler DONTBUILD 2021-11-16 07:59:49 +00:00
code-quality Bug 1740616 - Modify the C++ style guide to prefer unsigned types and CheckedInt. r=glandium DONTBUILD 2021-11-16 19:38:01 +00:00
contributing Bug 1682547 - Document how to merge two patches r=marco DONTBUILD 2021-11-11 13:25:30 +00:00
crash-reporting
gtest Bug 1734831 - fx doc: import the gtest doc from mdn archive + refresh r=gcp DONTBUILD 2021-10-08 19:53:53 +00:00
metrics
performance Bug 1734460 - Make these profiler docs refer to the Upload button (which no longer says Publish) correctly. r=canaltinova 2021-10-07 16:48:52 +00:00
setup Bug 1740167: Update Windows setup docs to use VS 2022 r=glandium 2021-11-15 22:49:42 +00:00
testing-rust-code Bug 1733845: Fix Gecko Logging doc links r=nika,sylvestre DONTBUILD 2021-10-05 21:00:33 +00:00
writing-rust-code Bug 1730680 - Update minimum supported rust version to 1.53.0. r=firefox-build-system-reviewers,andi 2021-09-15 08:10:09 +00:00
conf.py Bug 1740890 - doc: Silent a recommonmark warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD 2021-11-16 07:59:48 +00:00
config.yml Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal 2021-11-03 10:45:52 +00:00
index.rst Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal 2021-11-03 10:45:52 +00:00
jsdoc.json