flint is an open-source lint program for C++ developed and used at Facebook.
There are two versions of
flint. The main one (
flint/*.d) is written in the D programming language and is supported going forward. We also provide our older implementation in C++ (
flint/cxx/*.cpp) for historical perspective and comparison purposes.
flint's build has only been tested on Ubuntu. The motivated user should have no problem adapting it to other systems. More officially supported OSs to follow.
Follow the instructions to download and install folly.
googletest (Google C++ Testing Framework)
Grab gtest 1.6.0 from: http://googletest.googlecode.com/files/gtest-1.6.0.zip. Unzip it inside of the test/ subdirectory.
additional platform specific dependencies
Ubuntu 13.10 64-bit