Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

c++17 features and autocomplete #359

Open
underdoeg opened this issue Jan 24, 2018 · 3 comments
Open

c++17 features and autocomplete #359

underdoeg opened this issue Jan 24, 2018 · 3 comments

Comments

@underdoeg
Copy link

underdoeg commented Jan 24, 2018

I use std::shared_mutex in my project. And it compiles fine. But autocomplete does not find the type and declares my whole class as useless. I dont really know what you use to generate the autocompletion (ctags / libclang?) Is there a way to tell the engine to use those features or does the it not support 17 yet?

ATM I set the compiler flags via cmake

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@underdoeg
Copy link
Author

Ah just read C++17 features depending on libclang version I am on arch linux so libclang should be fairly recent. (clang version 5.0.1 (tags/RELEASE_501/final))

@eidheim
Copy link
Member

eidheim commented Jan 24, 2018

Yes, llvm's libclang is not yet 100% c++17 feature complete it seems. Hopefully this will change when llvm 6.0 is released in February. One can also try out the svn/git version of llvm, and of course then report found issues to the llvm project.

@underdoeg
Copy link
Author

ok, I'll try again in february. installing git versions of such crucial libraries is a little too risky on my work computer...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants