Clang
Alexandre Courbot
gnurou at gmail.com
Sun May 5 12:52:59 UTC 2013
On Sun, May 5, 2013 at 8:36 PM, Aleix Pol <aleixpol at kde.org> wrote:
> I'm unsure if it doesn't make sense, but has it been considered forking the
> current c++ implementation and just replacing the current parser (and even
> the AST) for Clang's?
>
> Maybe it's easier if we do a 1:1 port...
That's what I did in my own fork. Actually I just replaced the
parser/AST part with CLang's (in a CLangParseJob class) and build the
DUChain from there, using the helper functions available in
cpplanguagesupport. That seems to work and I agree it's probably the
shortest path to CLang parsing.
Alex.
More information about the KDevelop-devel
mailing list