[cfe-dev] [Analyzer] Build clang with just the Static Analyzer

Manuel Klimek via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 14 02:13:18 PST 2015


clang-tidy shows you how to do that if you really want to (and for some
reason you don't want to use clang-tidy).

On Sun, Dec 13, 2015 at 9:09 PM Nikola Smiljanic via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> I don't think so. I can't think of anything but IR generation that could
> be removed, so you wouldn't really benefit.
>
> On Wed, Dec 9, 2015 at 4:25 AM, scott constable via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> Hi All,
>>
>> Would it be possible to write a custom build target for clang, but only
>> including the Static Analyzer? I'm only using my clang build with
>> --analyze, so it doesn't make sense to have the ~100MB of other stuff
>> statically linked into the clang executable.
>>
>> ~Scott Constable
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151214/648fc213/attachment.html>


More information about the cfe-dev mailing list