summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2019-11-22 22:37:07 +0100
committerDávid Bolvanský <david.bolvansky@gmail.com>2019-11-22 22:37:19 +0100
commit9353c5dd0664ea444236e527bf93566e11dc34df (patch)
tree7feded4967a9c68f6d4795c63beb643299d21c6e /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parentc32f0ff92f024a8af438fc8d85906e441b5a2682 (diff)
downloadbcm5719-llvm-9353c5dd0664ea444236e527bf93566e11dc34df.tar.gz
bcm5719-llvm-9353c5dd0664ea444236e527bf93566e11dc34df.zip
[Diagnostics] Put "deprecated copy" warnings into -Wdeprecated-copy
Summary: GCC 9 added -Wdeprecated-copy (as part of -Wextra). This diagnostic is already implemented in Clang too, just hidden under -Wdeprecated (not on by default). This patch adds -Wdeprecated-copy and makes it compatible with GCC 9+. This diagnostic is heavily tested in deprecated.cpp, so I added simple tests just to check we warn when new flag/-Wextra is enabled. Reviewers: rsmith, dblaikie Reviewed By: dblaikie Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70342
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud