I think this has been discussed already, but it was about using the GCC precompiler. The reasons why it wasn't really useful were that the GCC compiler isn't good at handling source code with errors in. The code completion should also work on files with errors in, so that rules out the possibility of a compiler frontend I guess.
It seems nice, though.