Issue 61632
Summary [clang-format] Bad ObjC++ @selector || formatting
Labels new issue
Assignees
Reporter aeubanks
    clang-format ends up formatting the following code as

```
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item {
 if (action == @selector(showGuessPanel:) || action == @selector
 (toggleGrammarChecking:)) {
 *valid = spellCheckUserModifiable;
    return YES;
  }

  return NO;
}
```

the `@selector`s around the `||`  are very awkwardly formatted
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to