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.
Hi,
I have a class in my source file, and its name is falsely reported as violating variable naming rule, the log is like:
And following is part of my
.cppstyle:By checking the function
to_nodeinparser.py, it seems thekindof my class isCursorKind.VAR_DECLso it will return aVariableobject.Have you met this problem before? Thanks.