Closed Bug 1660906 Opened 4 years ago Closed 4 years ago

Add column limit to clang formatting for objective c files

Categories

(Core :: Disability Access APIs, defect, P2)

All
macOS
defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

Details

(Whiteboard: [mac2020_1])

Attachments

(1 file)

Outside of default formatting rules, clang-format doesn't seem to auto-wrap lines in objective cfiles that are over 80 columns long.

It would be nice if our mac directory shared the safe formatting rules as the rest of the mozilla codebase.

I also altered the mode line in all the file headers so that editors use the correct syntax features.

Assignee: nobody → eitan
Status: NEW → ASSIGNED
Attachment #9171807 - Attachment description: Bug 1660906 - Inroduce .clang-format file for Objective C rules. r?morgan → Bug 1660906 - Introduce .clang-format file for Objective C rules. r?morgan
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c79e406f9073
Introduce .clang-format file for Objective C rules. r=morgan
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: