[cfe-dev] facebook clang plugins

Mathieu Baudet mathieubaudet at fb.com
Thu Jun 19 09:30:54 PDT 2014


Hi,

I am looking for feedback on the possibility of contributing some of the clang plugins used at Facebook back to clang.

We just made available a first subset of plugins here:  https://github.com/facebook/facebook-clang-plugins

The plugins fall into two groups:
1) Clang analyzer checkers for iOS;
2) A clang frontend plugin to export the internal AST of clang in an Ocaml-friendly Json. This plugin comes with Ocaml libraries for testing, parsing, and visiting the AST.

Except for the naming conventions, which are not uniform yet, and the need to update the referenced version of clang, the code should be in a relatively good state. In particular, everything has been tested quite at scale.

Thanks!
—
Mathieu Baudet



More information about the cfe-dev mailing list