[PATCH] D125402: [clang][diag] warn if function returns class type by-const-value
Namgoo Lee via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 8 05:29:35 PDT 2022
nlee updated this revision to Diff 435113.
nlee added a comment.
Updated diff to pass clang-format test.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125402/new/
https://reviews.llvm.org/D125402
Files:
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/Misc/warning-wall.c
clang/test/SemaCXX/warn-pessimizing-return-by-const.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125402.435113.patch
Type: text/x-patch
Size: 6377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220608/25f9cef2/attachment.bin>
More information about the cfe-commits
mailing list