[all-commits] [llvm/llvm-project] 028d13: [clang] Add ElaboratedType sugaring for types on i...
Brad King via All-commits
all-commits at lists.llvm.org
Fri Jan 20 15:52:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 028d13b15612385202ad79269f011e3f1ecf0a25
https://github.com/llvm/llvm-project/commit/028d13b15612385202ad79269f011e3f1ecf0a25
Author: Brad King <brad.king at kitware.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-expr-json.cpp
M clang/test/Analysis/auto-obj-dtors-cfg-output.cpp
M clang/test/Analysis/lifetime-cfg-output.cpp
M clang/test/Analysis/missing-bind-temporary.cpp
M clang/test/Analysis/scopes-cfg-output.cpp
M clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp
M clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/p2.cpp
M clang/test/Index/print-type.cpp
M clang/test/Misc/diag-template-diffing.cpp
M clang/test/SemaCXX/conversion-function.cpp
M clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
Log Message:
-----------
[clang] Add ElaboratedType sugaring for types on implicit special members
Extend the change from commit 15f3cd6bfc67 ([clang] Implement
ElaboratedType sugaring for types written bare, 2021-10-11, D112374)
to cover types in the signatures of implicit copy-constructor,
copy-assignment, move-constructor, and move-assignment members in
C++ record types.
With this fix, diagnostic messages print types of special members
consistently whether they are explicitly or implicitly defined.
Fixes: https://github.com/llvm/llvm-project/issues/59557
Reviewed By: rsmith
Differential Revision: https://reviews.llvm.org/D141441
More information about the All-commits
mailing list