A symbol, depending on the order that clang found it will not necessarily be in the same class every time.
The IDE works against you here, when you navigate to a symbol and it exists in header number 4 for example, it will sometimes automatically import header number 4 so you have to go and change it because you want to get it from the top level class.
If you don't do that, you build a dependency for your platform into the generated code.
The symbols not being consistent across platforms can be fixed by sorting the symbols.
The IDE works against you here, when you navigate to a symbol and it exists in header number 4 for example, it will sometimes automatically import header number 4 so you have to go and change it because you want to get it from the top level class.
If you don't do that, you build a dependency for your platform into the generated code.
The symbols not being consistent across platforms can be fixed by sorting the symbols.
- links to
-
Review(master) openjdk/jextract/286