dougpuob / cppnamelint

CppNameLint is a naming convention linter of C/C++ source code (Based on LLVM's libtooling), which runs with command line on Windows/Linux/macOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected report when using ClassName=UpperCamel

keineahnung2345 opened this issue · comments

I am using release v0.3.4 on Windows 10, following is my cppnamelint.toml:

...
ClassName               = 1 # 0: Default (UpperCamel)
                            # 1: UpperCamel
...

Either I set this value to 0 or 1, it will wrongly report that my class name violates the rule, following is the formatted result.json:

            {
                "Column": 1,
                "Expected": "",
                "Line": 46,
                "TargetName": "XxxxXxxx",
                "Type": 5,
                "TypeName": "class"
            }

@keineahnung2345 glad to receive your feedback. I am planning to archive this project because the major feature of this project had been merged into clang-tidy (llvm/llvm-project@2b9b5bc0).

@dougpuob Oh, it's a good news.