Home
Phabricator
Search
Log In
Differential
D3580
Diff 8725
language/classmodel/documentclassesfolder.cpp
Changeset View
Testing for CodeModelItem::Unknown makes no sense there since it's constant (0).
The problem of original check is that (item.kind & 0) == 0 with any value of item.kind, so it doesn't check anything.
Probably solutions are:
Probably first one will go but I'll prefer to hear @kfunk's opinion on that