瀏覽代碼

Update _LIBCPP_EXCEPTION_ABI doc with @mclow's feedback

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281695 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 9 年之前
父節點
當前提交
65d504e627
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/DesignDocs/VisibilityMacros.rst

+ 3 - 2
docs/DesignDocs/VisibilityMacros.rst

@@ -84,8 +84,9 @@ Visibility Macros
 **_LIBCPP_EXCEPTION_ABI**
   Mark the member functions, typeinfo, and vtable of the type as being exported
   by the libc++ library. This macro must be applied to all *exception types*.
-  Exception types must be defined directly in namespace `std` and not the
-  versioning namespace.
+  Exception types should be defined directly in namespace `std` and not the
+  versioning namespace. This allows throwing and catching some exception types
+  between libc++ and libstdc++.
 
 Links
 =====