I decided to follow the "use enum keyword explicitly" rule in my current project. However, code completion does not like it. When using the following code in C file:
enum MyEnum { VAL_0, VAL_1 };
MyEnum foo()
{
}
enum MyEnum bar()
{
}
int main()
{
MyEnum e = foo();
MyEnum e2 = bar();
}
code completion in 'main' suggests only 'foo', but not 'bar'. Likewise, only 'foo' is visible in the function dropdown list.
I can confirm this bug in the latest rev 11505