-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
I have a class in my source file, and its name is falsely reported as violating variable naming rule, the log is like:
[Line 29, Col 0]: Variable 'XxxYyyZzz' does not match '^([a-z0-9]+)([A-Z0-9][a-z0-9]*)*$'
And following is part of my .cppstyle:
naming:
classes: ^([A-Z][a-z0-9]*)+$
variables: ^([a-z0-9]+)([A-Z0-9][a-z0-9]*)*$
By checking the function to_node in parser.py, it seems the kind of my class is CursorKind.VAR_DECL so it will return a Variable object.
Have you met this problem before? Thanks.
Metadata
Metadata
Assignees
Labels
No labels