Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryCopyInitialization.cpp99 const auto *ObjectArg = Result.Nodes.getNodeAs<VarDecl>("objectArg"); in check() local
126 handleCopyFromMethodReturn(*NewVar, *BlockStmt, IssueFix, ObjectArg, in check()
136 const VarDecl *ObjectArg, ASTContext &Context) { in handleCopyFromMethodReturn() argument
140 if (ObjectArg != nullptr && in handleCopyFromMethodReturn()
141 !isOnlyUsedAsConst(*ObjectArg, BlockStmt, Context)) in handleCopyFromMethodReturn()
DUnnecessaryCopyInitialization.h38 bool IssueFix, const VarDecl *ObjectArg,
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp6969 Expr *ObjectArg = nullptr; in visitLifetimeBoundArguments() local
6971 ObjectArg = Args[0]; in visitLifetimeBoundArguments()
6974 ObjectArg = MCE->getImplicitObjectArgument(); in visitLifetimeBoundArguments()
6989 if (ObjectArg && implicitObjectParamIsLifetimeBound(Callee)) in visitLifetimeBoundArguments()
6990 VisitLifetimeBoundArg(Callee, ObjectArg); in visitLifetimeBoundArguments()
DSemaOverload.cpp14371 ExprResult ObjectArg = in BuildCallToMemberFunction() local
14374 if (ObjectArg.isInvalid()) in BuildCallToMemberFunction()
14376 MemExpr->setBase(ObjectArg.get()); in BuildCallToMemberFunction()
/external/clang/lib/Sema/
DSemaOverload.cpp12351 ExprResult ObjectArg = in BuildCallToMemberFunction() local
12354 if (ObjectArg.isInvalid()) in BuildCallToMemberFunction()
12356 MemExpr->setBase(ObjectArg.get()); in BuildCallToMemberFunction()