From 3a75b8dc68c03128b18ec842b843a201b9b7f45c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 Aug 2024 16:11:32 +0200 Subject: Rename certain target_set::insert() versions to insert_implied() for clarity Also clarify the target_decl documentation. --- libbuild2/test/script/parser.test.cxx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'libbuild2/test') diff --git a/libbuild2/test/script/parser.test.cxx b/libbuild2/test/script/parser.test.cxx index 6838e47..7d63e7d 100644 --- a/libbuild2/test/script/parser.test.cxx +++ b/libbuild2/test/script/parser.test.cxx @@ -255,11 +255,11 @@ namespace build2 // really care. // file& tt ( - ctx.targets.insert (work, - dir_path (), - "driver", - string (), - trace)); + ctx.targets.insert_implied (work, + dir_path (), + "driver", + string (), + trace)); value& v ( tt.assign ( @@ -268,11 +268,12 @@ namespace build2 v = *ctx.build_host; testscript& st ( - ctx.targets.insert (work, - dir_path (), - name.leaf ().base ().string (), - name.leaf ().extension (), - trace)); + ctx.targets.insert_implied ( + work, + dir_path (), + name.leaf ().base ().string (), + name.leaf ().extension (), + trace)); tt.path (path ("driver")); st.path (name); -- cgit v1.1