[PATCH] D58425: Fix the build with gcc 8.x when `-Wredundant-decls` is passed

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 20 13:01:51 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL354515: Fix the build with gcc when `-Wredundant-decls` is passed (authored by dim, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D58425?vs=187508&id=187660#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D58425

Files:
  libcxx/trunk/include/__locale


Index: libcxx/trunk/include/__locale
===================================================================
--- libcxx/trunk/include/__locale
+++ libcxx/trunk/include/__locale
@@ -1229,8 +1229,6 @@
 _LIBCPP_EXTERN_TEMPLATE2(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS codecvt_byname<char16_t, char, mbstate_t>)
 _LIBCPP_EXTERN_TEMPLATE2(class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS codecvt_byname<char32_t, char, mbstate_t>)
 
-_LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const char*);
-
 template <size_t _Np>
 struct __narrow_to_utf8
 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58425.187660.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190220/78f107b5/attachment.bin>


More information about the llvm-commits mailing list