Skip to content

clang-format doesn't adhere to columnlimit near @selector #164574

@kadircet

Description

@kadircet
$ cat b.m [objectName respondsToSelector:@selector (somelonglonglonglongnameeeeeeee: loooooooooanotherlonglonglonglongnametopush:otherlongnameforlimit:)] 
$ clang-format -style='{BasedOnStyle: LLVM, ColumnLimit: 60}' b.m [objectName respondsToSelector: @selector( somelonglonglonglongnameeeeeeee:loooooooooanotherlonglonglonglongnametopush:otherlongnameforlimit:)] 

bisection points to 2a05904 cc @sstwcw , it seems weird that we both split @selector from the selector-name and violate column limits. Can you PTAL?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions