[all-commits] [llvm/llvm-project] 9c053e: [libc++][format] Make public functions nodiscard.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Mon Jun 12 09:56:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c053e69939b9d36723f7d5a9b00a6e3f1a9c726
https://github.com/llvm/llvm-project/commit/9c053e69939b9d36723f7d5a9b00a6e3f1a9c726
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M libcxx/docs/UsingLibcxx.rst
M libcxx/include/__format/format_functions.h
A libcxx/test/libcxx/diagnostics/format.nodiscard_extensions.compile.pass.cpp
A libcxx/test/libcxx/diagnostics/format.nodiscard_extensions.verify.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format.verify.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.verify.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.format.verify.cpp
Log Message:
-----------
[libc++][format] Make public functions nodiscard.
This is an extension and only adds the functions that are a considered a
but when called and ignoring the result.
Drive-by sort all nodiscard extensions in the documentation.
Reviewed By: #libc, philnik
Differential Revision: https://reviews.llvm.org/D152097
More information about the All-commits
mailing list