[libcxx-commits] [PATCH] D103947: [libcxx] Fix using the vcruntime ABI with _HAS_EXCEPTIONS=0 defined

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 29 18:37:00 PDT 2022


phosek added inline comments.


================
Comment at: libcxx/include/exception:115
+
+struct __std_exception_data{
+    char const* _What;
----------------
Nit


================
Comment at: libcxx/include/exception:122
+public:
+  exception() _NOEXCEPT :_Data() {}
+
----------------
Nit


================
Comment at: libcxx/include/exception:124
+
+  explicit exception( char const* _Message) _NOEXCEPT : _Data() {
+      _Data._What = _Message;
----------------
Nit


================
Comment at: libcxx/include/exception:129
+
+  exception( char const* _Message, int) _NOEXCEPT : _Data() {
+      _Data._What = _Message;
----------------
Nit


================
Comment at: libcxx/include/exception:143
+  __std_exception_data _Data;
+
+};
----------------
Nit


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103947/new/

https://reviews.llvm.org/D103947



More information about the libcxx-commits mailing list