Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp274 if (const auto *CtorDecl = dyn_cast<CXXConstructorDecl>(&FD)) in getReferencedDecls() local
275 Visitor.TraverseConstructorInits(CtorDecl); in getReferencedDecls()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp285 if (auto *CtorDecl = dyn_cast<CXXConstructorDecl>(D)) { in IsFunctionTrivial() local
286 for (auto *CtorInit : CtorDecl->inits()) { in IsFunctionTrivial()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp617 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() local
618 CXXRecordDecl *R = CtorDecl->getParent(); in PerformEmptyInit()
620 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
621 CtorDecl->isExplicit() && R->getDeclName() && in PerformEmptyInit()
622 SemaRef.SourceMgr.isInSystemHeader(CtorDecl->getLocation())) { in PerformEmptyInit()
644 SemaRef.Diag(CtorDecl->getLocation(), in PerformEmptyInit()
4473 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() local
4486 if (!CtorDecl->getParent()->allowConstDefaultInit()) { in TryConstructorInitialization()
4496 if (IsListInit && !Kind.AllowExplicit() && CtorDecl->isExplicit()) { in TryConstructorInitialization()
4516 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates, in TryConstructorInitialization()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1451 const auto *CtorDecl = CE->getConstructor(); in isTrivialCopyOrMoveCtor() local
1453 return CtorDecl->isCopyOrMoveConstructor() && CtorDecl->isTrivial(); in isTrivialCopyOrMoveCtor()