Rip-Rip/clang_complete — Issue #124: libclang's bug,can't complete when using template
Author: egmkang
Created: 2012-02-05 15:18:01+00:00
State: open

simple code:
class A
{
public:
int get_num() const
{
//it can complete the code
this->
}
private:
int num_;
};
but when write a template class,libclang can't complete it correctly.for example:
template
class A
{
public:
T get_num() const
{
//it does not work well
//and said "Pattern not found"
this->
}
private:
T num_;
};

Does it a bug??
vim:7.3
clang:3.0
Linux:debian 6.04 x64