Skip to content

Enums declared in class scope are ignored by genreflex #21884

@Nowakus

Description

@Nowakus

Check duplicate issues.

  • Checked for duplicates

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

Metadata

Metadata

Assignees

Labels

bugexperimentAffects an experiment / reported by its software & computimng expertsin:Dictionaries

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions