reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
249 if (IgnoreMacros && SpecialFunctionDecl->getLocation().isMacroID()) 254 if (SpecialFunctionDecl->isDeleted() || 255 SpecialFunctionDecl->isExplicitlyDefaulted() || 256 SpecialFunctionDecl->isLateTemplateParsed() || 257 SpecialFunctionDecl->isTemplateInstantiation() || 258 !SpecialFunctionDecl->isUserProvided() || !SpecialFunctionDecl->hasBody()) 258 !SpecialFunctionDecl->isUserProvided() || !SpecialFunctionDecl->hasBody()) 261 const auto *Body = dyn_cast<CompoundStmt>(SpecialFunctionDecl->getBody()); 266 if (!SpecialFunctionDecl->isCopyAssignmentOperator() && !Body->body_empty()) 270 bool ApplyFix = SpecialFunctionDecl->isCopyAssignmentOperator() || 275 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(SpecialFunctionDecl)) { 288 } else if (isa<CXXDestructorDecl>(SpecialFunctionDecl)) { 291 if (!isCopyAssignmentAndCanBeDefaulted(Result.Context, SpecialFunctionDecl)) 298 SourceLocation Location = SpecialFunctionDecl->getLocation();