reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
13024   assert(ClassDecl->needsImplicitCopyConstructor());
13026   DeclaringSpecialMember DSM(*this, ClassDecl, CXXCopyConstructor);
13030   QualType ClassType = Context.getTypeDeclType(ClassDecl);
13032   bool Const = ClassDecl->implicitCopyConstructorHasConstParam();
13041   bool Constexpr = defaultedSpecialMemberIsConstexpr(*this, ClassDecl,
13048   SourceLocation ClassLoc = ClassDecl->getLocation();
13054       Context, ClassDecl, ClassLoc, NameInfo, QualType(), /*TInfo=*/nullptr,
13063     inferCUDATargetForImplicitSpecialMember(ClassDecl, CXXCopyConstructor,
13080       ClassDecl->needsOverloadResolutionForCopyConstructor()
13082           : ClassDecl->hasTrivialCopyConstructor());
13085       ClassDecl->hasAttr<TrivialABIAttr>() ||
13086       (ClassDecl->needsOverloadResolutionForCopyConstructor()
13089            : ClassDecl->hasTrivialCopyConstructorForCall()));
13094   Scope *S = getScopeForContext(ClassDecl);
13098     ClassDecl->setImplicitCopyConstructorIsDeleted();
13104   ClassDecl->addDecl(CopyConstructor);