dim bb9abf23e4 Pull in r354515 from upstream libc++ trunk:
Fix the build with gcc when `-Wredundant-decls` is passed

  Summary:

  gcc warns that `__throw_runtime_error` is declared both in
  `<__locale>` and `<stdexcept>`, if `-Wredundant-decls` is passed on
  the command line; this is the case with FreeBSD when ${WARNS} == 6.

  Since `<__locale>` gets its first declaration via a transitive
  include of `<stdexcept>`, and the second declaration is after the
  first invocation of `__throw_runtime_error`, delete that second
  declaration.

  Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>

  Reviewers: kristina, MaskRay, EricWF, ldionne, ngie

  Reviewed By: EricWF

  Subscribers: krytarowski, brooks, emaste, dim, christof, jdoerfert, libcxx-commits

  Tags: #libc

  Differential Revision: https://reviews.llvm.org/D58425

Submitted by:	ngie
MFC after:	3 days
2019-02-20 21:06:11 +00:00
..
2018-12-23 01:05:52 +00:00
2018-10-20 20:49:46 +00:00
2018-09-19 06:42:05 +00:00
2018-11-04 18:24:11 +00:00
2018-08-08 01:33:36 +00:00
2018-10-19 00:37:47 +00:00
2019-02-13 07:37:33 +00:00
2018-05-31 09:11:21 +00:00
2018-08-14 18:58:01 +00:00
2018-08-21 02:38:07 +00:00
2018-11-26 15:33:55 +00:00
2018-12-18 01:12:30 +00:00
2018-09-19 07:01:22 +00:00
2018-12-31 07:57:37 +00:00
2018-12-09 06:45:49 +00:00