[cfe-dev] facebook clang plugins

Anna Zaks ganna at apple.com
Mon Jun 23 13:18:28 PDT 2014


> On Jun 19, 2014, at 9:30 AM, Mathieu Baudet <mathieubaudet at fb.com> wrote:
> 
> 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;

Mathieu,

One of the analyzer checkers looks similar/like a subset of this one:
   cfe/trunk/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
   cfe/trunk/test/Analysis/identical-expressions.cpp

Cheers,
Anna.
> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list