On 2014-12-15 9:02 PM, Anthony Jones wrote:
On 15/12/14 12:28, Ehsan Akhgari wrote:
In order to avoid burning the tree, if you are a clang user you can add
ac_add_options --enable-clang-plugin to your mozconfig and make sure you
are using a recent version of clang with the development headers and
libraries installed (the binary packages of clang 3.5 from llvm.org
should be sufficient for most people.) Otherwise, please make sure to
test your patches against the static analysis builders on the try server.
Can we make --enable-clang-plugin on by default when the appropriate
version of clang is installed?
We probably should do that, but detecting whether an appropriate version
of clang is installed probably requires a configure check that actually
compiles a plugin and verifies that it works, which is something I
haven't had the time to do yet. I would definitely appreciate help there!
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform