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

Is it possible to get compilation arguments / flags from emacs cquery? #17

Closed
alexmurray opened this issue Feb 15, 2018 · 3 comments
Closed

Comments

@alexmurray
Copy link

I currently maintain flycheck-clang-analyzer which allows to run the clang static analysis using the current files compilation options via either irony or rtags. It would be great to add support for using cquery as well - is there a way to call into emacs-cquery to get the compilation flags etc for the current file?

@jacobdufault
Copy link
Member

Sure, we can expose a custom LSP message. Can you file a bug in the main cquery repository as well?

@MaskRay
Copy link
Member

MaskRay commented Feb 15, 2018

Close via 122f4f7

(gethash "args" (cquery-file-info))

@MaskRay MaskRay closed this as completed Feb 15, 2018
@alexmurray
Copy link
Author

Wow, thank you for the very quick response and implementation - truly amazing!

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

3 participants