Bug #11571 2007-07-16 21:45

ramazank

Problem with '<<' operator

Consider the following sample.

int afunction(int a, int b)

{

int c;

c = a << b;

return c;

}

int anotherfunction(int a, int b)

{

return 2;

}

int athirdfunction(int a, int b)

{

int something;

something = 3;

return something;

}

If I press Ctrl-Alt-G to go to a function I only see the 'afunction', but if I change the 'c = a << b' to eg. 'return a << b;', I can see all the functions. I think CodeCompletion parser has a problem with the '<<' operator, maybe it thinks it's template type spec.

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2007-07-30 11:33
Assigned to
mandrav
biplab 2007-07-30 11:33

This bug is now fixed in HEAD.

Thank you for reporting it.