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

nl_after_semicolon conflicts with nl_after_class #91

Closed
helmus opened this issue Sep 6, 2012 · 1 comment
Closed

nl_after_semicolon conflicts with nl_after_class #91

helmus opened this issue Sep 6, 2012 · 1 comment

Comments

@helmus
Copy link

helmus commented Sep 6, 2012

I can't allow multiple statements on a single line and at the same time enforce a blank line after a closing class bracket & semicolon because nl_after_class only works when nl_after_semicolon is true.

example:

namespace
{
   class A
   {

   }; class B  // i want to disallow this, i want exactly 1 blank line after each class definition 
   {

   };

   void foo()
   {
        bar(); something(); myFunction();  // i want to allow this, multiple statements on 1 line
   }
}
@bengardner
Copy link
Collaborator

Looks like I fixed this.

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

No branches or pull requests

2 participants