[clang] Changed Checks from TriviallyCopyable to TriviallyCopyConstructible (PR #76680)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 05:36:35 PST 2024
================
@@ -2604,19 +2604,22 @@ bool QualType::isTrivialType(const ASTContext &Context) const {
return false;
}
-bool QualType::isTriviallyCopyableType(const ASTContext &Context) const {
- if ((*this)->isArrayType())
- return Context.getBaseElementType(*this).isTriviallyCopyableType(Context);
+static bool isTriviallyCopyableTypeImpl(const QualType &type,
+ const ASTContext &Context,
+ bool copy_constructible) {
----------------
cor3ntin wrote:
```suggestion
bool IsCopyConstructible) {
```
https://github.com/llvm/llvm-project/pull/76680
More information about the cfe-commits
mailing list