garyelephant / google-styleguide

Automatically exported from code.google.com/p/google-styleguide
http://garyelephant.github.io/google-styleguide
1 stars 0 forks source link

cpplint can't handle multi word access specifiers (e.g., public slots:) correctly #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Source code: 

class X : public QObject {
...
 public slots:
...
}

causes incorrectly message "Weird number of spaces at line-start.  Are you 
using a 2-space indent?  [whitespace/indent] [3]". 

Attached patch removes message.

Original issue reported on code.google.com by ksole...@gmail.com on 1 Oct 2014 at 9:09

Attachments: