[cfe-dev] AST processing toolbox

Ted Kremenek kremenek at apple.com
Sat Jun 13 09:59:30 PDT 2009


On Jun 13, 2009, at 5:33 AM, Brian Allison <brian.w.allison at gmail.com>  
wrote:

>
>
> On Fri, Jun 12, 2009 at 4:19 PM, Ted Kremenek <kremenek at apple.com>  
> wrote:
>
> That said, there is an ongoing discussion on which C++ features we
> should actually use in LLVM/Clang.  At the end of the day, not
> everyone who contributes to LLVM/Clang is a C++ guru, and using
> esoteric C++ features may actually be more of a detriment than a
> blessing as it may scare off potential contributors.  So when we look
> at whether or not to pull in library X or language feature Y into the
> code base, we need to consider the tradeoffs both in terms of
> technical benefits (which may be marginal) versus (a) the
> approachability and readability of the code base and (b) the
> portability of the code base.  We aren't luddites, however, as we do
> indeed use some of the more "specialized" features of C++ in LLVM/
> Clang, but they are buried deep in the code and help provide
> fundamental infrastructure instead of being used as part of the basic
> APIs.
>
>
>  So then, clang isn't going to be a drop-in replacement for g++ until
> there are "enough" other compilers that implement the more
> esoteric parts of C++?

Hi Brian,

I'm not certain how that statement follows from anything that I said.   
Could you please clarify?  Our intent is to develop a C++ compiler  
that could be widely used. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090613/00584237/attachment.html>


More information about the cfe-dev mailing list