[all-commits] [llvm/llvm-project] d5dd37: [Sema] Don't mark deleted special member functions...
Roy Jacobson via All-commits
all-commits at lists.llvm.org
Wed Jan 4 11:27:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5dd37ac139a74701e16f084eb2609ff58893770
https://github.com/llvm/llvm-project/commit/d5dd37ac139a74701e16f084eb2609ff58893770
Author: Roy Jacobson <roi.jacobson1 at gmail.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/ast-dump-funcs.cpp
A clang/test/SemaCXX/GH59624.cpp
Log Message:
-----------
[Sema] Don't mark deleted special member functions as non-trivial
As noted in https://github.com/llvm/llvm-project/issues/59624, we sometimes mark implicitly
deleted special member functions as non-trivial. This is unnecessary work and leads to some
weird type traits errors.
This fixes the problem by making the implicitly deleted special member functions always
trivial.
Reviewed By: #clang-language-wg, erichkeane
Differential Revision: https://reviews.llvm.org/D140664
More information about the All-commits
mailing list