3
考虑这个源片段:clang_complete不完整的构造
class Z
{
public:
Z(int){}
void foo() {}
};
这按预期工作:
int main()
{
Z a(1);
a. // <- at this point, a list of functions appears in a menu
这并不在所有的工作:
Z b // <- at this point, nothing happens if I press <Tab> or C-X C-U
// except a "pattern not found" message
Z b( // <- same here
但这:
Z b = Z // a list of constructors appears in a menu when <Tab> is pressed
是否有可能建立clang_complete使得构造完成在这两种情况下工作?
我怀疑这一点。叹。 –