[clang] Changed Checks from TriviallyCopyable to TriviallyCopyConstructible (PR #76680)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 07:10:59 PST 2024
================
@@ -2644,6 +2644,49 @@ bool QualType::isTriviallyCopyableType(const ASTContext &Context) const {
return false;
}
+bool QualType::isTriviallyCopyConstructibleType(
----------------
Endilll wrote:
Go ahead, but it would be nice if we don't regress performance along the way (by i.e. using type-erased wrapper for callable).
https://github.com/llvm/llvm-project/pull/76680
More information about the cfe-commits
mailing list