summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/thinlto-function-summary-refgraph.ll
diff options
context:
space:
mode:
authorIdriss Riouak <riouakidriss@hotmail.it>2018-07-17 14:35:15 +0000
committerIdriss Riouak <riouakidriss@hotmail.it>2018-07-17 14:35:15 +0000
commitdeb8c7d396fb77911a6bc980370271e31797ad6d (patch)
tree085e9cce4b4fbf631cad9e073c83ff0554b58950 /llvm/test/Bitcode/thinlto-function-summary-refgraph.ll
parentb980b5c9f4589c026f443eee5e0efeb2ea85882b (diff)
downloadbcm5719-llvm-deb8c7d396fb77911a6bc980370271e31797ad6d.tar.gz
bcm5719-llvm-deb8c7d396fb77911a6bc980370271e31797ad6d.zip
[clang-tidy: modernize] Fix modernize-use-equals-default with {} brackets list initialization: patch
Summary: Hello, i would like to suggest a fix for one of the checks in clang-tidy. The bug was reported in https://bugs.llvm.org/show_bug.cgi?id=38039 where you can find more information. ``` struct UOB{ UOB(const UOB &Other):j{Other.j}{} int j; }; ``` In this case the check modernize-use-equals-default does not detect copy constructors that can be defaulted; that should be: ``` struct UOB{ UOB(const UOB &Other) = default; int j; }; ``` Reviewers: aaron.ballman, hokein, alexfh Reviewed By: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D49356 llvm-svn: 337286
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-refgraph.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud