malaperle-ericsson added a subscriber: bkramer. malaperle-ericsson added a comment.
In https://reviews.llvm.org/D31019#702631, @bkramer wrote: > It's not. the goal is to get rid of ASTUnit inside of clangd in the long term > as it's a big problem for extensibility. libclang is just a wrapper for > ASTUnit, with even more problems. > > If you want to get completion running, just call ASTUnit::CodeComplete. Thanks a lot. When you say the goal is to get rid of ASTUnit, what would it be replaced with? Also, why would one use libclang over ASTUnit (libclangFrontend) then? Perhaps there's some documentation listing the pros and cons? Repository: rL LLVM https://reviews.llvm.org/D31019 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits