diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-07 12:04:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-08 11:08:03 +0200 |
commit | 1703a30dec2695e7a5f1b81c633ac4c63479d9dd (patch) | |
tree | 48168a64b070f7e24384cce1ea2b4cc61d875602 /libbuild2/diagnostics.hxx | |
parent | 5efc7faaea8fc780cf0fc9d0629fc50ea4fbd3b4 (diff) |
Allow passing fail diag record to diag_buffer::close()
Diffstat (limited to 'libbuild2/diagnostics.hxx')
-rw-r--r-- | libbuild2/diagnostics.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libbuild2/diagnostics.hxx b/libbuild2/diagnostics.hxx index b53d375..9d516be 100644 --- a/libbuild2/diagnostics.hxx +++ b/libbuild2/diagnostics.hxx @@ -657,9 +657,8 @@ namespace build2 bool omit_normall = false); // As above but with a custom diag record for the child exit diagnostics, - // if any. - // - // @@ TODO: currently cannot be used with the fail epilogue. + // if any. Note that if the diag record has the fail epilogue, then this + // function will throw. // void close (diag_record&& = {}); |