[cfe-dev] AST processing toolbox

Ted Kremenek kremenek at apple.com
Fri Jun 12 14:20:06 PDT 2009


On Jun 12, 2009, at 2:00 PM, AlisdairM(public) wrote:

>> -----Original Message-----
>> From: Chris Lattner [mailto:clattner at apple.com]
>> Sent: 12 June 2009 21:41
>> To: Ted Kremenek
>> Cc: AlisdairM (public); cfe-dev at cs.uiuc.edu
>> Subject: Re: [cfe-dev] AST processing toolbox
>
>> Right.  Another option is to pull in and "llvm-ize" libraries that  
>> are
>> really useful.  For example, llvm/ADT/OwningPtr.h is a simple smart
>> pointer that is very similar to boost and other standard libraries.
>
> See my earlier reply <g>
> What would be most useful here is some small developer document  
> pointing
> out facilities are available through LLVM that we might find familiar.
> Smart pointers, containers, other basic utilities, etc.

Agreed, throughout LLVM/Clang the documentation can be greatly  
improved.  We encourage everyone to submit patches for documentation  
where they feel it is lacking.

>
> I have no problems with this approach, TR1 merely gives us some  
> valuable
> and reasonably well understood APIs.  Nothing against providing self
> hosted implementations if that is what is needed, at least for the
> simpler components.  I don't particularly fancy writing a pre-variadic
> template version of tr1::function myself ;¬)

Sounds good.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090612/187aec79/attachment.html>


More information about the cfe-dev mailing list