[libcxx-commits] [libcxx] [libc++] Applied `[[nodiscard]` to `<exception>`, `<stdexcept>` and `<system_error>` (PR #170837)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 5 03:49:11 PST 2025
================
@@ -0,0 +1,110 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03
----------------
frederick-vs-ja wrote:
Similarly to tests for containers, I wonder whether we can just remove this, as we provide `<system_error>` as an extension in C++03 mode.
```suggestion
```
https://github.com/llvm/llvm-project/pull/170837
More information about the libcxx-commits
mailing list