且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

clang_complete vim扩展不能与STL一起使用

更新时间:2023-11-10 11:47:28

p>解决方法是告诉clang_complete使用clang库(而不是二进制)进行解析。这是通过在 .vimrc 中添加以下行来实现的:

The workaround is to tell clang_complete to use the clang library (instead of binary) for parsing. This is done by adding the following line to .vimrc:

let g:clang_use_library = 1