[cfe-dev] Clang: checker vs. plugin

Aitor San Juan aitor.sj at opendeusto.es
Sat Apr 19 04:43:52 PDT 2014


Hello,

I was wondering the difference between the concept of a plugin and a
checker. Please, correct me. As far as I know, from a technical point of
view, a plugin is a separately compiled routine (DLL) that may be loaded by
the compiler (compile-time). However, a checker is a routine used by
Clang's analyzer to enhance the latter's analysis logic (in the case of  a
checker, in order for the analyzer to be able to use it, the latter must be
rebuilt).

I also wonder whether a plugin can also interact with Clang's analyzer? If
so, then what reason could make you decide whether to implement a checker
or a plugin?

Thanks.
Aitor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140419/1a24988a/attachment.html>


More information about the cfe-dev mailing list