cppnamelint
cppnamelint copied to clipboard
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.
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...
We follow [this C++ coding style rule](https://geosoft.no/development/cppstyle.html), and its 11th rule says that private member variable name should be like `length_`. But currently all varaibles are in the same group,...
based on 96c8b87 1) looks like that a constructor is not checked for the class name pattern, but the one of the function (here: **lowerCamel**), like so: File = 2.04.initializer.list.cpp...
Follow-up #57 , why this issue cannot be duplicated on Windows version.
 
`clang file.c -x c++ -Xclang -ast-dump -fsyntax-only ` ``` c++ #define MAX_VALUE (10) int iVal1 = int iVal2 = MAX_VALUE; ```  ``` txt file.c:3:1: error: expected expression int iVal2...
``` cppnamelint utility v0.3.0 --------------------------------------------------- File = Global.h Config = cppnamelint.toml Checked = 92 [File:1 | Func: 9 | Param: 5 | Var: 2 | Enum: 11 | Struct: 64...
``` cppnamelint utility v0.3.0 --------------------------------------------------- File = DlgFt2GetDevInfo.cpp Config = cppnamelint.toml Checked = 6 [File:1 | Func: 2 | Param: 2 | Var: 1 | Enum: 0 | Struct: 0...
 ``` c++ operator HANDLE() const { return m_hComm; }; ```