Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/facebookarchive/flint
An open-source lint program for C++ developed by, and formerly used at Facebook.
https://github.com/facebookarchive/flint
Last synced: 2 months ago
JSON representation
An open-source lint program for C++ developed by, and formerly used at Facebook.
- Host: GitHub
- URL: https://github.com/facebookarchive/flint
- Owner: facebookarchive
- License: bsl-1.0
- Archived: true
- Created: 2014-02-12T22:54:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-16T01:59:29.000Z (almost 5 years ago)
- Last Synced: 2024-08-02T01:25:56.663Z (6 months ago)
- Language: D
- Homepage:
- Size: 222 KB
- Stars: 623
- Watchers: 46
- Forks: 70
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
- - -
**_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.
`flint` is published on Github at https://github.com/facebook/flint; for
discussions, there is a Google group at https://groups.google.com/d/forum/facebook-flint.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.
Currently `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.
Dependencies
------------- folly (https://github.com/facebook/folly)
Follow the instructions to download and install folly.
- double-conversion (https://github.com/google/double-conversion)
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)
- gdc
- automake
- autoconf
- autoconf-archive
- libtool
- libboost1.54-all-dev
- libgoogle-glog-dev
- libgflags-devTo Build
--------autoreconf --install
LDFLAGS="-L" CPPFLAGS="-I/src" ./configure
make