New issue
Advanced search Search tips

Issue 752788 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Nov 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 768586



Sign in to add a comment

clang-format failing on IPC_BEGIN_MESSAGE_MAP

Project Member Reported by dmazz...@chromium.org, Aug 6 2017

Issue description

See:

https://chromium-review.googlesource.com/c/592848/8/chrome/renderer/extensions/automation_internal_custom_bindings.cc

This is was it produced:

void AutomationInternalCustomBindings::OnMessageReceived(
    const IPC::Message& message){
    IPC_BEGIN_MESSAGE_MAP(AutomationInternalCustomBindings, message)
        IPC_MESSAGE_HANDLER(ExtensionMsg_AccessibilityEvents,
                            OnAccessibilityEvents)
            IPC_MESSAGE_HANDLER(ExtensionMsg_AccessibilityLocationChanges,
                                OnAccessibilityLocationChanges)
                IPC_END_MESSAGE_MAP()}

This was while running clang-format on Windows. It was reproducible.

 
Cc: thakis@chromium.org dcheng@chromium.org
Labels: clang-format
One particularly strange bit is that clang-format ate the space between the ) and {... So maybe it thinks this is a list initialization expression somehow?
Components: Tools
Blockedon: 768586
Status: Fixed (was: Untriaged)
void AutomationInternalCustomBindings::OnMessageReceived(
    const IPC::Message& message) {
  IPC_BEGIN_MESSAGE_MAP(AutomationInternalCustomBindings, message)
    IPC_MESSAGE_HANDLER(ExtensionMsg_AccessibilityEvents, OnAccessibilityEvents)
    IPC_MESSAGE_HANDLER(ExtensionMsg_AccessibilityLocationChanges,
                        OnAccessibilityLocationChanges)
  IPC_END_MESSAGE_MAP()
}

Blockedon: -768586
Owner: dcheng@chromium.org
Actually fixed by https://chromium.googlesource.com/chromium/src/+/9ce8be44d36f1d8e52a571a18def3b5295cf0763 long ago, not by that roll.
Blockedon: 768586
Owner: ----
 Issue 784266  has been merged into this issue.

Sign in to add a comment