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

clangd does not use flags provided through hard_compiler_wrapper.py #9

Open
carpikes opened this issue Jan 11, 2021 · 1 comment
Open

Comments

@carpikes
Copy link

With the latest orchestra, the flags provided through hard_compiler_wrapper.py are passed directly to the compiler and they are not written in compile_commands.json, which is used by clangd to provide code completion.

At the moment, the only flag which is causing problems with ui/cold-revng is -fstdlib=libc++ which would be useful to write in some way in the compile_commands file.

@aleclearmind
Copy link
Contributor

We need a custom .clangd file sadly.
We should automate what's decribed here.

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

No branches or pull requests

2 participants