[libcxx-commits] [libcxx] 7f49d95 - [libc++][NFC] Fix synopsis comment for error_condition::message() (#210724)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 21 04:23:04 PDT 2026


Author: Louis Dionne
Date: 2026-07-21T07:22:59-04:00
New Revision: 7f49d95c09e8a22a6de737ae6006edbb3a0adfca

URL: https://github.com/llvm/llvm-project/commit/7f49d95c09e8a22a6de737ae6006edbb3a0adfca
DIFF: https://github.com/llvm/llvm-project/commit/7f49d95c09e8a22a6de737ae6006edbb3a0adfca.diff

LOG: [libc++][NFC] Fix synopsis comment for error_condition::message() (#210724)

The method was marked as noexcept in the synopsis, but it's neither
marked noexcept in the spec nor in our implementation.

Added: 
    

Modified: 
    libcxx/include/system_error

Removed: 
    


################################################################################
diff  --git a/libcxx/include/system_error b/libcxx/include/system_error
index ef760453d9893..208a586af0dc2 100644
--- a/libcxx/include/system_error
+++ b/libcxx/include/system_error
@@ -98,7 +98,7 @@ public:
     // observers:
     int value() const noexcept;
     const error_category& category() const noexcept;
-    string message() const noexcept;
+    string message() const;
     explicit operator bool() const noexcept;
 };
 


        


More information about the libcxx-commits mailing list