KWStyle icon indicating copy to clipboard operation
KWStyle copied to clipboard

Kitware Style Checker

Results 16 KWStyle issues
Sort by recently updated
recently updated
newest added

### Description If ```c++ template struct Dispatch : public DispatchBase {}; ``` is replaced with ```c++ template struct Dispatch : public DispatchBase {}; ``` then KWStyle gives the error: ```text...

Is there really no `make uninstall` target?

I didn't see any reference to this feature in the documentation, so forgive me if it already exists. Most linters allow disableing of rules per line with something like: `//...

With `KWStyle.xml`: m_[A-Z],0,1 and `Test.h`: ```` #ifndef Test_h #define Test_h // Forward declaration bool runTest(); class Test { public: Test() {} protected: bool result; }; #endif ```` KWStyle fails to...

With `KWStyle.xml`: m_[A-Z],0,1 and `Test.h`: ```` #ifndef Test_h #define Test_h class Test { public: Test() {} private: float score = 0.0f; }; #endif ```` KWStyle fails to show the error...

Setting the operator parameter in the kws.xml config file does not spot a wrong number of spaces. ``` 1 1 ``` or ``` 1,1 ``` Does not spot errors like...

Enum declaration name and enum constants check is supported?

I get an error that looks like: `NvSupport.h:206: error: function ()>) doesn't match regular expression:` On a lines that look like: ``` class LogDataSink { public: enum class TimingPolicy {...

In most cases this wouldn't matter since those things are effectively disallowed from identifier names, but in practice KWStyle has enough failure modes that such characters are often added to...

`kwsCheckComments.cxx`: `Parser::CheckComments` appears to set `m_Comment*` inside the if clause only traversed when `checkWrongComment` is true, and then uses them in the if clause entered when `checkMissingComment` is `true` such...