diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-18 07:00:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-18 07:56:09 +0200 |
commit | f50a3a56b59698ffce3965711898a94e7849aa78 (patch) | |
tree | d52f6e2343d5cc4a1f83861e61e19520c22c7ae4 /libbuild2/diagnostics.ixx | |
parent | f80c8ff7ff3b1eef22a3c90943f324d45d855b97 (diff) |
Complete low verbosity diagnostics rework
Diffstat (limited to 'libbuild2/diagnostics.ixx')
-rw-r--r-- | libbuild2/diagnostics.ixx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libbuild2/diagnostics.ixx b/libbuild2/diagnostics.ixx index 7c1a432..a082290 100644 --- a/libbuild2/diagnostics.ixx +++ b/libbuild2/diagnostics.ixx @@ -6,6 +6,11 @@ namespace build2 LIBBUILD2_SYMEXPORT void print_diag_impl (const char*, target_key*, target_key&&, const char*); + LIBBUILD2_SYMEXPORT void + print_diag_impl (const char*, + target_key*, vector<target_key>&& r, + const char*); + inline void print_diag (const char* p, target_key&& l, target_key&& r, const char* c) { @@ -13,12 +18,26 @@ namespace build2 } inline void + print_diag (const char* p, + target_key&& l, vector<target_key>&& r, + const char* c) + { + print_diag_impl (p, &l, move (r), c); + } + + inline void print_diag (const char* p, target_key& r) { print_diag_impl (p, nullptr, move (r), nullptr); } inline void + print_diag (const char* p, vector<target_key>&& r) + { + print_diag_impl (p, nullptr, move (r), nullptr); + } + + inline void print_diag (const char* p, const path& r) { print_diag (p, path_name (&r)); |