FlintPlusPlus icon indicating copy to clipboard operation
FlintPlusPlus copied to clipboard

Flint++ is cross-platform, zero-dependency port of flint, a lint program for C++ developed and used at Facebook.

Results 9 FlintPlusPlus issues
Sort by recently updated
recently updated
newest added

Running flint++ from master (c04020e8693b315) on my own code results in flint++: Tokenizer.cpp:99: std::string flint::{anonymous}::munchSingleLineComment(std::string&, size_t&): Assertion `i < pc.size()' failed. Program received signal SIGABRT, Aborted. 0x00007ffff75390d5 in __GI_raise (sig=)...

Helps integrate with GitLab CI (and other CI) where a non-zero exit for a CI step counts as failure.

The following four test cases all cause Flint++ to generate the warning "Classes with virtual functions should not have a public non-virtual destructor" erroneously, I believe. In three of the...

Fix for the two examples in the bug, plus test cases, plus an update to the test output.

If a #error or #line preprocessor directive contains whitespace between the # and the word "error" or "line", the tokenizer breaks and bogus errors are reported. Example 1: "# errror...

Might be worth making this an option. Something like: ``` $ flint++ --exit-error-code=1 ```

On Windows in Visual Studio, precompiled headers are generally called stdafx.h and the include for them must the the first line in the file. This generates an incorrect Flint++ error...

Hello, is it possible to run flint++ with different file extensions? Specifically .ino files created for the Arduino IDE. Renaming the files to .cpp temporarily works but is not an...

Ignored.cpp line 55 fprintf(stderr, "%s(%d): second format string is int but value is unsigned int (found with cppcheck :-) ).