Closed Bug 1619165 Opened 4 years ago Closed 4 years ago

clang-format Refresh the tree once clang-format 10 is live

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task
Not set
normal

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file, 1 obsolete file)

https://reviews.llvm.org/D69573 will ship with clang-10 and introduces some changes in our code base.

-  operator Rooted<T>&() { return *savedRoot; }
+  operator Rooted<T> &() { return *savedRoot; }

or

-    operator const nsIFrame*() const { return mFrame; }
+    operator const nsIFrame *() const { return mFrame; }

Nothing too fancy

Assignee: nobody → sledru
Component: Toolchains → Lint and Formatting

This change doesn't make sense to me, considering we're preferring the form nsIFrame* frame to nsIFrame *frame.

The LLVM patch even looks like it respects PointerAlignment, and that it shouldn't make a difference for PointerAlignment = Left (which is what we have).

I forgot to give links to the upstream changes.
https://reviews.llvm.org/D69573
and a regression fix:

https://reviews.llvm.org/D72911
(not in 10.0rc2)

Depends on: 1625884
Depends on: 1629853
Attachment #9136766 - Attachment description: Bug 1619165 - Reformat with clang-format 10 → Bug 1619165 - Reformat recent changes to the Google coding style r=Ehsan,andi
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ad8bd78754b2
Reformat recent changes to the Google coding style r=andi
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77

ignore-this-changeset

Comment on attachment 9144842 [details]
Bug 1619165 - Reformat recent changes to the Google coding style r=andi

Revision D73347 was moved to bug 1519636. Setting attachment 9144842 [details] to obsolete.

Attachment #9144842 - Attachment is obsolete: true
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: