eolian: check whether events conflict in inheritance tree (off)
authorDaniel Kolesa <d.kolesa@samsung.com>
Wed, 21 Nov 2018 15:26:00 +0000 (16:26 +0100)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:21:28 +0000 (14:21 +0900)
commit2fc0124e48b3e67e0ff87efcb05a17909f1c2bdc
treea64fe6a471a86e48f40aeeaf958f07f36bcec858
parent119742d8106677b661ba48f0352a7247734b19b4
eolian: check whether events conflict in inheritance tree (off)

Previously, the EOLIAN_EVENT_REDEF_WARN environment variable
enabled extra checks that would include events in checking
conflicts against methods. Since this is probably not necessary
and naming events the same as methods is perfectly fine in itself,
relax this rule and check events completely independently.

In practice, this will disallow using the same name for two
events within the same inheritance tree, which is desirable
in longer term, but cannot be enabled just yet because we have
too many of those conflicts. But it also allows the events to
be named the same as methods or parts, which is fine and was not
possible before.
src/lib/eolian/database_validate.c