[cfe-dev] Help regarding clang

Swaresh Sankpal via cfe-dev cfe-dev at lists.llvm.org
Tue Feb 23 05:22:02 PST 2016


I need to do syntax checking on c++ code.For example,check for single '='
in if statement.To create a tool to support such checks,what tools I have
to install and how?.Please guide.I am currently following this link
http://clang.llvm.org/docs/LibASTMatchersTutorial.html .It is taking lot of
time to setup all tools mentioned in this link.I am getting some errors
too.I haven't written any code as of now,but have to have to build very
soon.I have tried to follow set up from the link but had some issues
linking libraries.Is there any recent documentation that will help me
setting up the tools required.

Swaresh

On Mon, Feb 22, 2016 at 4:05 AM, mats petersson <mats at planetcatfish.com>
wrote:

> It's probably a good idea to describe what you have done, what is
> happening and how that is different from what you expect (crash, compiler
> error, doesn't do what you want, etc) and post some code showing what you
> are doing.
>
> --
> Mats
>
> On 20 February 2016 at 19:32, Swaresh Sankpal via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> Hi,
>> I want to build a clang tool to do some syntax check on c++ code.I am
>> following procedure given on
>> http://clang.llvm.org/docs/LibASTMatchersTutorial.html. I am trying to
>> execute those instructions from 10 days.I am really stuck.Please guide me.
>>
>> Swaresh
>>
>> _______________________________________________
>> 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/20160223/3a598002/attachment.html>


More information about the cfe-dev mailing list