aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-09 15:23:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-09 15:23:27 +0200
commitc78f03ca550bfdcec1de4e2fd96a2604476374d7 (patch)
tree156e31c8e78c4e3d8e41f0acc570537095c26f98 /libbuild2/target.hxx
parentc991cd8fa9f534817428a5523fc529518e8e1738 (diff)
Make importation of unqualified targets illegal
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 2af389d..c2954f8 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1260,6 +1260,10 @@ namespace build2
// map. The key's hash ignores the extension, so the hash will stay stable
// across extension updates.
//
+ // @@ TODO: we currently do not detect ambiguity if there are multiple merge
+ // candidates for a no-extension key. We could probably do it using the
+ // unordered_map::bucket() API.
+ //
// Note also that once the extension is specified, it becomes immutable.
//
class LIBBUILD2_SYMEXPORT target_set