Hi eranif, clang code completion work well and ...
Posted: Mon Apr 25, 2011 6:46 am
Hi, eranif, currently in clang 2.9, it can read source from stdin, so it do not nead write a temp file anymore.
Code sample, which from llvm svn
And I have a problem: It dos not seem to work in header file(.h,.hpp)?
Do you have any idea about this?
And, do you have any document about codelite_indexer and codelite ctag database?
I just want to use it with vim...
Because clang code completion is a little slow. Although it can faster when use pchs.
Code sample, which from llvm svn
Code: Select all
cat <source> | clang -cc1 -code-completion-at=-:<row>:<col> -x c++ <addtions opts> -
Do you have any idea about this?
And, do you have any document about codelite_indexer and codelite ctag database?
I just want to use it with vim...
Because clang code completion is a little slow. Although it can faster when use pchs.