5 ms·
Is there one similar to this but that doesn't require your code to compile under Clang? I have plenty of projects at home that don't instantly work under Clang.
by speps 9y ago
Is there one similar to this but that doesn't require your code to compile under Clang? I have plenty of projects at home that don't instantly work under Clang. So far, I've never seen any C++ language server that doesn't rely on Clang unfortunately.
- orbifold 9y agoUnlikely because GCC deliberately made it hard to reach into its internals for a long time. The only other implementation is the one by Microsoft based (presumably) on their C++ compiler.
- feanaro 9y agoWhat are the usual culprits that prevent it from working under clang?
- jhasse 9y agoClang doesn't support template<class ...Args> void foo(int x = 0, Args&&... args) for example (default argument before variadic templates args).
- lfowles 9y agoWow, I was going to guess that was illegal anyways, but cppref validates that behavior[0]. 0: http://en.cppreference.com/w/cpp/language/default_arguments http://en.cppreference.com/w/cpp/language/default_arguments
- snowAbstraction 9y agoI remember an old project to use the Eclipse CDT C++ support via vim instead of in the Eclipse IDE: http://eclim.org/index.html http://eclim.org/index.html I think there is/was some attempt to do it for emacs as well.
- emmelaich 9y agoThere is a LSP in progress for clang C/C++. https://reviews.llvm.org/diffusion/L/browse/clang-tools-extra/trunk/clangd/ https://reviews.llvm.org/diffusion/L/browse/clang-tools-extr...