Don't use enums for scoped search
commit30fa28bac7d8c5928dd613c34d5d833b3dfead2b
authorJiří Techet <techet@gmail.com>
Sun, 10 May 2015 10:12:55 +0000 (10 12:12 +0200)
committerJiří Techet <techet@gmail.com>
Sun, 10 Jan 2016 11:31:47 +0000 (10 12:31 +0100)
tree17906a4abb7d6b445524a9b9e9ecf6402845e6fc
parentbf17c90bd66d17811d1a25c454af3115c14318ee
Don't use enums for scoped search

Even though enums contain members, their members are accessed in a
different way than members of classes and structs. E.g. consider:

typedef enum {A, B, C, D} MyEnum;

Variable of this type is declared as

MyEnum myVar;

myVar can be assigned a value from MyEnum; however, we don't access myVar
over the dot operator so we don't need the list of all members after
typing

myVar.

This patch eliminates some false positives after typing .
tagmanager/src/tm_workspace.c