Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp269 const auto *ObjectArg = Result.Nodes.getNodeAs<VarDecl>(ObjectArgId); in check() local
298 handleCopyFromMethodReturn(*NewVar, *BlockStmt, *Stmt, IssueFix, ObjectArg, in check()
308 bool IssueFix, const VarDecl *ObjectArg, ASTContext &Context) { in handleCopyFromMethodReturn() argument
312 if (ObjectArg != nullptr && in handleCopyFromMethodReturn()
313 !isInitializingVariableImmutable(*ObjectArg, BlockStmt, Context, in handleCopyFromMethodReturn()
H A DUnnecessaryCopyInitialization.h40 const VarDecl *ObjectArg,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp7097 Expr *ObjectArg = nullptr; in visitLifetimeBoundArguments() local
7099 ObjectArg = Args[0]; in visitLifetimeBoundArguments()
7102 ObjectArg = MCE->getImplicitObjectArgument(); in visitLifetimeBoundArguments()
7117 if (ObjectArg && implicitObjectParamIsLifetimeBound(Callee)) in visitLifetimeBoundArguments()
7118 VisitLifetimeBoundArg(Callee, ObjectArg); in visitLifetimeBoundArguments()
H A DSemaOverload.cpp14609 ExprResult ObjectArg = in BuildCallToMemberFunction() local
14612 if (ObjectArg.isInvalid()) in BuildCallToMemberFunction()
14614 MemExpr->setBase(ObjectArg.get()); in BuildCallToMemberFunction()