summaryrefslogtreecommitdiff
path: root/bin/bootstrap.py
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-03-28 11:59:10 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2022-03-29 09:57:48 +0200
commit51cbf8f11f15062f23317d676364ca690b1edc92 (patch)
tree5ef96b087221012fa4bdec5e4a0540172c97c3d3 /bin/bootstrap.py
parent8aea452283f58c252f992c83dafa614d645466b2 (diff)
downloadjustbuild-51cbf8f11f15062f23317d676364ca690b1edc92.tar.gz
refactor EntityName
EntityName now clearly expresses its double identity: - NamedTarget - AnonymousTarget The usage of std::variant<NamedTarget,AnonymousTarget> guarantees that EntityName, internally, is not a mix of the two - like could happen before this patch. NamedTarget features an enum ReferenceType to express the type of the target, namely, "normal target" or an "explicit file reference". Thanks to this refactoring, the introduction of new targets type should be easier, since the design is more modular. NamedTarget
Diffstat (limited to 'bin/bootstrap.py')
0 files changed, 0 insertions, 0 deletions