3 ms·
But one of the points of Clang's toolability is that you don't have to write your own parser. You can use the compiler's and see what the compiler will see, avo
by vor_ 14y ago
But one of the points of Clang's toolability is that you don't have to write your own parser. You can use the compiler's and see what the compiler will see, avoiding inconsistencies as well as unnecessary work.
- mpyne 14y agoDUChain actually might even predate Clang from what I've been able to dig up today, but there's a few other points working against Clang supplanting it: 1. DUChain was designed to support multiple languages (since KDevelop does). E.g. there is work going on now to offer first-class JavaScript support in KDevelop, which libclang wouldn't help with. 2. No one has done the work to verify API/ABI compatibility guarantees, porting libclang into DUChain, etc. There's interest though: https://bugs.kde.org/show_bug.cgi?id=253650 https://bugs.kde.org/show_bug.cgi?id=253650 https://bugs.kde.org/show_bug.cgi?id=172622 https://bugs.kde.org/show_bug.cgi?id=172622