Closed Bug 1513626 Opened 5 years ago Closed 5 years ago

Mismatch in clang-format config between central repo and phabricator clang-format configuration

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jya, Assigned: andi)

References

()

Details

Seen in https://phabricator.services.mozilla.com/D14282#inline-77180

I had:

  nsCOMPtr<nsIRunnable> runnable = NS_NewRunnableFunction(
      "dom::HTMLTrackElement::LoadResource",
      [ self = RefPtr<HTMLTrackElement>(this), uri, secFlags ]() {

        nsCOMPtr<nsIChannel> channel;


local clang-format using the existing mozilla-central/.clang-formant accept this formatting as is.

However, the clang-format used in phabricator will warn on those.

central's .clang-format should be made to match what phabricator wants.
Assignee: nobody → bpostelnicu

One more example:
https://phabricator.services.mozilla.com/D16388

Andi, do you have an update on that? thanks

Severity: normal → major
Flags: needinfo?(bpostelnicu)
Priority: -- → P1

This is a problem with the bot that doesn't behaves as we might want to, please see this related bug.
I think it's safe to track this bug on GitHub, where we have our release-services repo is located.

Flags: needinfo?(bpostelnicu)

As the patch has been merged into master and the serve has been redeployed from master, we can close this issue.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.