summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sblaunchinfo
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2019-02-20 21:01:31 +0000
committerDimitry Andric <dimitry@andric.com>2019-02-20 21:01:31 +0000
commitd95da99b9159ca326a62b6c8ca44cb4a93db184c (patch)
tree883cb17f691ab8662117362f600ab9025dbfe57a /lldb/packages/Python/lldbsuite/test/python_api/sblaunchinfo
parent8d9c224a8c5fc3a5a48e6406ccbfc2c2d68128b2 (diff)
downloadbcm5719-llvm-d95da99b9159ca326a62b6c8ca44cb4a93db184c.tar.gz
bcm5719-llvm-d95da99b9159ca326a62b6c8ca44cb4a93db184c.zip
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 llvm-svn: 354515
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sblaunchinfo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud