Check duplicate issues.
Description
Genreflex seems to notice only the enums that were defined directly in a namespace scope. If an enum is defined inside a class scope, genreflex will (silently!) ignore the selection directive. The fact that it works in a specific case would suggest that the machinery is there, it just does not get triggered in all cases that it should
Reproducer
enum.genreflex.tgz
Running genreflex on the attached source will produce a rootmap file that has entries for only 2 enums (out of 12 defined and 6 selected):
[ libclasses.so ]
# List of selected classes
class MyClass
class OtherClass
# List of selected enums and outer classes
enum myNamespace::EnumSEL
enum myNamespace::EnumClassSEL
ROOT version
6.36, master
Installation method
SFT builds used by ATLAS
Operating system
lxplus
Additional context
No response
Check duplicate issues.
Description
Genreflex seems to notice only the enums that were defined directly in a namespace scope. If an enum is defined inside a class scope, genreflex will (silently!) ignore the selection directive. The fact that it works in a specific case would suggest that the machinery is there, it just does not get triggered in all cases that it should
Reproducer
enum.genreflex.tgz
Running genreflex on the attached source will produce a rootmap file that has entries for only 2 enums (out of 12 defined and 6 selected):
[ libclasses.so ]
# List of selected classes
class MyClass
class OtherClass
# List of selected enums and outer classes
enum myNamespace::EnumSEL
enum myNamespace::EnumClassSEL
ROOT version
6.36, master
Installation method
SFT builds used by ATLAS
Operating system
lxplus
Additional context
No response