Basically I am not able to compile my particular codebase in clang or gcc too easily since it's an embedded system. But many other IDEs have no problem inferring autocompletion without requiring compilation.
YouCompleteMe itself was a bit of an issue as I have to develop in Windows and it's not quite as well supported.