[PATCH] D79714: [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634)
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 23 08:42:16 PDT 2021
xbolva00 added a comment.
In D79714#2712393 <https://reviews.llvm.org/D79714#2712393>, @uabelho wrote:
> In D79714#2711898 <https://reviews.llvm.org/D79714#2711898>, @xbolva00 wrote:
>
>> Can you try this fix?
>>
>> diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
>> index ddf277dea246..abf712e78a61 100644
>> --- a/libcxx/utils/libcxx/test/params.py
>> +++ b/libcxx/utils/libcxx/test/params.py
>> @@ -12,6 +12,7 @@ from libcxx.test.features import _isMSVC
>> _warningFlags = [
>> '-Werror',
>> '-Wall',
>> + '-Wno-deprecated-copy',
>> '-Wextra',
>> '-Wshadow',
>> '-Wundef',
>
> The above doesn't help but if I add it in the list after -Wextra the warning goes away. Can you submit something like that?
> Thanks!
Yes, I can. Thanks
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79714/new/
https://reviews.llvm.org/D79714
More information about the cfe-commits
mailing list