How to configure the clang_complete plug-in to support automatic completion of existing content?

  question, vim


ubuntu 16.04
clang 3.8
vim 7.4
Vim is already installed.clang_completeComplete plug-in


clang_completePlug-ins support the completion of compilation units, which is very good. However, no supplement is provided for the contents that have already appeared in the document itself.
How to configure the clang_complete implementation if it is not safe to complete other plug-ins?


 void printHello() {***}
 int main()
 Pri** // automatically completes printHello when entering pri.

Update: …This plug-in can be used.

I found one andclang_completeNon-conflicting plug-ins. …