summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
diff options
context:
space:
mode:
authorMitchell Balan <mitchell@stellarscience.com>2019-11-20 15:36:45 -0500
committerMitchell Balan <mitchell@stellarscience.com>2019-11-20 18:08:37 -0500
commit24aafcadff3851ec3a0c42303fec63e815b19566 (patch)
tree2761ee140707f24772e277bea72e765204e6cb99 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
parenta329cf69696f1d1103c569b4c4d68d212b204710 (diff)
downloadbcm5719-llvm-24aafcadff3851ec3a0c42303fec63e815b19566.tar.gz
bcm5719-llvm-24aafcadff3851ec3a0c42303fec63e815b19566.zip
[clang-tidy] modernize-use-equals-default avoid adding redundant semicolons
Summary: `modernize-use-equals-default` replaces default constructors/destructors with `= default;`. When the optional semicolon after a member function is present, this results in two consecutive semicolons. This patch checks to see if the next non-comment token after the code to be replaced is a semicolon, and if so offers a replacement of `= default` rather than `= default;`. This patch adds trailing comments and semicolons to about 5 existing tests. Reviewers: malcolm.parsons, angelgarcia, aaron.ballman, alexfh Patch by: poelmanc Subscribers: MyDeveloperDay, JonasToth, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70144
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud