diff options
author | Tom Honermann <tom.honermann@intel.com> | 2023-01-26 07:32:27 -0800 |
---|---|---|
committer | Tom Honermann <tom@honermann.net> | 2023-02-02 15:10:47 -0500 |
commit | ecd0be100bed5bae1f22d3da28bfcca89934af8c (patch) | |
tree | 339736c276df7ff50a01dcd98d1c634acf8d258e /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 726ba82554132003c2bd1ca6143cdd142dba5f86 (diff) | |
download | llvm-ecd0be100bed5bae1f22d3da28bfcca89934af8c.zip llvm-ecd0be100bed5bae1f22d3da28bfcca89934af8c.tar.gz llvm-ecd0be100bed5bae1f22d3da28bfcca89934af8c.tar.bz2 |
[clang] Warn by default that implicit capture of 'this' is deprecated in C++20 and later.
Previously, a warning that C++20 deprecated implicit capture of 'this' for
lambda captures specified with a capture default of '=' was only issued when
'-Wdeprecated' or '-Wdeprecated-this-capture' was specified. This change
enables the warning by default (it is still only issued when compiling for
C++20 or later). This is consistent with gcc which warns by default (MSVC
requires '/Wall').
Reviewed By: erichkeane, shafik
Differential Revision: https://reviews.llvm.org/D142639
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions