Searched refs:CtorCall (Results 1 – 7 of 7) sorted by relevance
122 const auto *CtorCall = Result.Nodes.getNodeAs<CXXConstructExpr>("ctor"); in check() local124 assert((CtorCall || MakeCall) && "No push_back parameter matched"); in check()126 if (IgnoreImplicitConstructors && CtorCall && CtorCall->getNumArgs() >= 1 && in check()127 CtorCall->getArg(0)->getSourceRange() == CtorCall->getSourceRange()) in check()144 : CtorCall->getParenOrBraceRange(); in check()151 MakeCall ? MakeCall->getExprLoc() : CtorCall->getExprLoc(); in check()
142 class CtorCall { class144 CtorCall& operator=(const CtorCall& that);149 CtorCall& CtorCall::operator=(const CtorCall& that) in operator =()152 this->CtorCall::~CtorCall(); in operator =()153 …this->CtorCall::CtorCall(that); // expected-warning {{explicit constructor calls are a Microsoft e… in operator =()
161 class CtorCall { class163 CtorCall& operator=(const CtorCall& that);168 CtorCall& CtorCall::operator=(const CtorCall& that) in operator =()171 this->CtorCall::~CtorCall(); in operator =()172 …this->CtorCall::CtorCall(that); // expected-warning {{explicit constructor calls are a Microsoft e… in operator =()
189 auto *CtorCall = dyn_cast<CXXConstructorCall>(&Call); in checkPostCall() local190 if (!CtorCall) in checkPostCall()193 const CXXConstructorDecl *CtorDecl = CtorCall->getDecl(); in checkPostCall()205 modelAssertionResultCopyConstructor(CtorCall, C); in checkPostCall()225 modelAssertionResultBoolConstructor(CtorCall, /*IsRef=*/false, C); in checkPostCall()233 modelAssertionResultBoolConstructor(CtorCall, /*IsRef=*/true, C); in checkPostCall()
60 const auto *CtorCall = Result.Nodes.getNodeAs<Expr>("ctor_call"); in check() local61 diag(CtorCall->getExprLoc(), "constness of '%0' prevents automatic move") in check()
101 const auto *CtorCall = Result.Nodes.getNodeAs<CXXConstructExpr>("ctorCall"); in check() local116 for (unsigned int i = 1; i < CtorCall->getNumArgs(); ++i) in check()117 if (!CtorCall->getArg(i)->isDefaultArgument()) in check()
783 } else if (const auto *CtorCall = in maybeAddCalleeArgInfo() local787 if (CtorCall->getConstructor()->isCopyConstructor()) in maybeAddCalleeArgInfo()