Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typedef classes are indented when they should not be #1056

Closed
veripoolbot opened this issue Apr 17, 2016 · 2 comments
Closed

typedef classes are indented when they should not be #1056

veripoolbot opened this issue Apr 17, 2016 · 2 comments
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Gregory Czajkowski
Original Redmine Issue: 1056 from https://www.veripool.org


Instead of

typedef class a_t;
typedef class b_t;
typedef class c_t;
typedef class d_t;

We get

typedef class a_t;
typedef class b_t;
typedef class c_t;
typedef class d_t;

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Kaushal Modi
Original Date: 2016-04-18T03:49:13Z


I can see this problem too.

For clarity, which is what it looks like after indenting the whole buffer:

// ENUM TYPEDEF
typedef enum {FOO, BAR} foobar_e;

// CLASS TYPEDEF
typedef class a_t;
    typedef class b_t;
    typedef class c_t;
    typedef class d_t;

instead of

// ENUM TYPEDEF
typedef enum {FOO, BAR} foobar_e;

// CLASS TYPEDEF
typedef class a_t;
typedef class b_t;
typedef class c_t;
typedef class d_t;

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-11-19T13:46:58Z


This was fixed at some point in the last year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant