Home
last modified time | relevance | path

Searched refs:SpecialFunctionDecl (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDefaultCheck.cpp256 const auto *SpecialFunctionDecl = in check() local
259 if (IgnoreMacros && SpecialFunctionDecl->getLocation().isMacroID()) in check()
264 if (SpecialFunctionDecl->isDeleted() || in check()
265 SpecialFunctionDecl->isExplicitlyDefaulted() || in check()
266 SpecialFunctionDecl->isLateTemplateParsed() || in check()
267 SpecialFunctionDecl->isTemplateInstantiation() || in check()
268 !SpecialFunctionDecl->isUserProvided() || !SpecialFunctionDecl->hasBody()) in check()
271 const auto *Body = dyn_cast<CompoundStmt>(SpecialFunctionDecl->getBody()); in check()
276 if (!SpecialFunctionDecl->isCopyAssignmentOperator() && !Body->body_empty()) in check()
280 bool ApplyFix = SpecialFunctionDecl->isCopyAssignmentOperator() || in check()
[all …]