Aleksey Kladov 7be2d2f008 internal: remove one more accidentally quadratic code-path
Definition::visibility was implemented in a rather roundabout way -- by
asking the parent module about the effective visibility.

This is problematic for a couple of reasons:

* first, it doesn't work for local items
* second, asking module about visibility of a child is a linear
  operation (that's a problem in itself, tracked in #9378)

Instead, lets ask the declared visibility directly, we have all the code
for it, and need only to actually us it.
2021-06-22 21:26:07 +03:00
..
2021-06-21 17:47:00 +01:00
2021-06-22 21:02:08 +03:00
2021-06-21 16:40:21 +02:00
2021-06-20 19:37:45 +02:00
2021-06-21 22:47:39 +09:00
2021-06-18 23:48:18 +03:00
2021-06-21 16:40:21 +02:00
2021-06-22 13:18:48 -04:00
2021-06-22 13:18:48 -04:00
2021-06-21 21:42:02 +00:00
2021-06-22 08:46:01 +00:00