Closed Bug 1609943 Opened 4 years ago Closed 4 years ago

Clean up C++ coding style document

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task
Not set
normal

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(8 files)

47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review

After the C++ coding style document moved in-tree, some cleanup should be done on it. This bug covers only such cleanup that doesn't change the semantics, but only formatting, structural and related issues.

Attachment #9121532 - Attachment description: Bug 1609943 - Remove reference to JavaScript typeof from 'Operators' section and specifically refer to sizeof only. r=sylvestre → Bug 1609943 - Split guideline on unary operators into C++ and JavaScript part. r=sylvestre
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3cac9afcff10
Cleanup in-line code fragments to use proper encapsulation. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/50891b17f48a
Split guideline on unary operators into C++ and JavaScript part. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/9f0f1500f848
Move mode line section from C++ to general coding style. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/9e11adb8e96e
Refer to UpperCamelCase to remove ambiguity. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/5717a944bd12
Move all string-related rules into one section. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/9fbbcbab8bc7
Move static analysis to its own section, and add notes on a few more clang-tidy checks. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/0221af408c1a
Merged two mentions of naming nsresult error variables, and improved wording a bit. r=sylvestre
https://hg.mozilla.org/integration/autoland/rev/876e928aad40
Improved section on comparison against true/false, and added note on clang-tidy check. r=sylvestre
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: