Project

General

Profile

Bug #7348

cstyle can't handle ellipsis on continuation line

Added by Hans Rosenfeld about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
tools - gate/build tools
Start date:
2016-09-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

The following function header makes cstyle complain:

static int
foo(char bar, int baz,
    ...)

It should detect that this is a correctly indented continuation of a function header.

History

#1

Updated by Electric Monk about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit c667d216889ea8258f2adb49c28cb0ef47990e5a

commit  c667d216889ea8258f2adb49c28cb0ef47990e5a
Author: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Date:   2016-09-01T15:31:35.000Z

    7348 cstyle can't handle ellipsis on continuation line
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF