On 01/24/2013 12:55 PM, Diego Novillo wrote:

I do see, however, a few areas where Clang/LLVM have gone that I do
not think GCC is currently thinking of entering: "toolability" (for
the lack of a better term).  Clang's design follows a different path
than g++.  It's not just a code generating parser, it is a pure parser
that also generates code.  The difference makes it suitable for any
kind of tool that needs to understand C++: static analyzers, code
re-formatters, syntax highlighters, and other similar tools.
Additionally, it is designed as a library, so it can be embedded into
applications.
Yup. We kicked stuff in this area around as well as we were discussing the problems early folding presents. In an ideal world, the G++ parser would turn into something that can be used not just for G++, but as a library for other tools that need to parse C++ code (doxygen, gdb and I'm sure there's others).

Jeff

Reply via email to