Eventually this will be supported with lsp-mode. If you check https://gitter.im/cquery-project/Lobby @topisani made good progress here quickly and already has cquery up and running.
Search for the discussion about rtags. It does something similar for emacs using libclang.