3 Commits

Author SHA1 Message Date
Carlos Galvez
d69c362dfd [clang-tidy][NFC] Fix format of header file comment in MisleadingCaptureDefaultByValueCheck.h 2023-04-15 14:49:20 +00:00
Carlos Galvez
fa3de2ed29 [clang-tidy][NFC] Improve doc of cppcoreguidelines-misleading-capture-default-by-value
Also fix ordering in Release Notes.

Differential Revision: https://reviews.llvm.org/D148424
2023-04-15 12:07:18 +00:00
Carlos Galvez
eedbe81b1c [clang-tidy] Apply cppcoreguidelines-avoid-capture-default-when-capturin-this only to by-value capture default
Since Cpp Core Guidelines have accepted the change in the rules:
3c90d590e1

Also rename the check accordingly.

Differential Revision: https://reviews.llvm.org/D148340
2023-04-15 10:10:04 +00:00