This project is not actively maintained. Proceed at your own risk!
flint: Facebook's C++ Linter
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.
Follow the instructions listed on the Folly page to build and install
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 cxx/ subdirectory.
additional platform specific dependencies
Ubuntu 13.10 64-bit
- g++ (tested with 4.7.1, 4.8.1)
autoreconf --install LDFLAGS=-L<double-conversion> CPPFLAGS=-I<double-conversion>/src configure ... make