Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support clangd version 19 (LLVM-407) #104

Open
3 tasks done
mrjohannchang opened this issue Oct 23, 2024 · 2 comments
Open
3 tasks done

Support clangd version 19 (LLVM-407) #104

mrjohannchang opened this issue Oct 23, 2024 · 2 comments

Comments

@mrjohannchang
Copy link

mrjohannchang commented Oct 23, 2024

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Described the feature in detail and justified the reason for the request.
  • Provided specific use cases and examples.

Feature description

C23 will be finalized within a month, most of its features are already available in GCC provided in esp-13.2.0_20240530 that's bundled with ESP-IDF version 5.3. But the support in the current bundled clangd is a bit behind.

Use cases

There are some great features in C23, such as constexpr. This feature can already be used with GCC version 13 bundled in ESP-IDF v5.3. However, since it's not supported until clangd version 19, the bundled clangd does not recognize it, leading to errors on every line that contains this syntax. This results in clangd's error messages becoming excessively verbose.

Alternatives

I can use clangd from standard LLVM 19 instead. But without Espressif's patch, some of the includes will not be identified properly.

Additional context

No response

@github-actions github-actions bot changed the title Support clangd version 19 Support clangd version 19 (LLVM-407) Oct 23, 2024
@gerekon
Copy link
Collaborator

gerekon commented Oct 24, 2024

Hi @mrjohannchang!

We are finishing rebase our fork on LLVM 19 and plan to do the release which also will include clangd.

@mrjohannchang
Copy link
Author

Thank you! I'll close this issue once Espressif's fork is bumped to version 19.

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

No branches or pull requests

3 participants