Dimitry Andric
18ff5bdb9c
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-08-02 18:04:37 +00:00
2017-05-16 21:50:29 +00:00
2017-06-01 22:47:02 +00:00
2017-08-09 17:32:39 +00:00
2018-08-02 17:05:36 +00:00
2018-08-18 12:11:17 +00:00
2017-04-22 18:59:50 +00:00
2019-01-17 06:35:45 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 18:04:37 +00:00
2016-05-26 18:52:49 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2019-02-20 21:06:11 +00:00
2018-08-02 18:04:37 +00:00
2018-08-29 20:53:24 +00:00
2018-08-02 17:05:36 +00:00
2017-06-01 22:47:02 +00:00
2018-08-02 17:05:36 +00:00
2017-06-01 22:47:02 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 18:04:37 +00:00
2017-04-22 18:59:50 +00:00
2017-06-01 22:47:02 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2017-12-20 19:16:11 +00:00
2016-08-30 18:27:31 +00:00
2016-05-26 18:52:49 +00:00
2016-05-26 18:52:49 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2016-05-26 18:52:49 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2016-05-26 18:52:49 +00:00
2017-04-22 18:59:50 +00:00
2016-05-26 18:52:49 +00:00
2017-12-20 19:16:11 +00:00
2017-04-22 18:59:50 +00:00
2018-08-18 12:11:17 +00:00
2016-08-30 18:27:31 +00:00
2018-08-18 12:11:17 +00:00
2017-05-16 21:50:29 +00:00
2017-01-08 19:39:03 +00:00
2016-05-26 18:52:49 +00:00
2018-08-02 17:05:36 +00:00
2019-01-17 16:26:59 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2017-01-08 19:39:03 +00:00
2017-01-08 19:39:03 +00:00
2018-08-02 17:05:36 +00:00
2017-01-08 19:39:03 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2017-06-01 22:47:02 +00:00
2017-01-08 19:39:03 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2017-01-08 19:39:03 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2018-09-11 18:50:40 +00:00
2018-08-02 18:04:37 +00:00
2018-01-06 23:44:14 +00:00
2018-08-18 12:11:17 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-01-06 23:44:14 +00:00
2018-09-11 18:50:40 +00:00
2017-12-20 19:16:11 +00:00
2018-08-02 18:04:37 +00:00
2016-05-26 18:52:49 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2017-12-24 01:16:28 +00:00
2018-08-02 17:05:36 +00:00
2016-08-30 18:27:31 +00:00
2017-04-22 18:59:50 +00:00
2018-08-02 17:05:36 +00:00
2017-01-08 19:39:03 +00:00
2018-08-02 17:05:36 +00:00
2017-05-16 21:50:29 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2016-08-30 18:27:31 +00:00
2017-04-22 18:59:50 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2019-02-18 18:34:13 +00:00
2017-01-08 19:39:03 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 18:04:37 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2018-08-02 17:05:36 +00:00
2017-12-20 19:16:11 +00:00
2016-05-26 18:52:49 +00:00