Home
last modified time | relevance | path

Searched refs:getRetValue (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DReturnValueChecker.cpp119 if (!RS || !RS->getRetValue()) in checkEndFunction()
137 SVal ReturnV = State->getSVal(RS->getRetValue(), C.getLocationContext()); in checkEndFunction()
DReturnPointerRangeChecker.cpp39 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
DReturnUndefChecker.cpp40 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
DIdenticalExprChecker.cpp372 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(), in isIdenticalStmt()
373 ReturnStmt2->getRetValue(), IgnoreSideEffects); in isIdenticalStmt()
DMIGChecker.cpp287 bugreporter::trackExpressionValue(N, RS->getRetValue(), *R, in checkReturnAux()
DObjCSelfInitChecker.cpp216 checkForInvalidSelf(S->getRetValue(), C, in checkPreStmt()
DStackAddrEscapeChecker.cpp257 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DReturnPointerRangeChecker.cpp39 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
DReturnUndefChecker.cpp41 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
DIdenticalExprChecker.cpp368 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(), in isIdenticalStmt()
369 ReturnStmt2->getRetValue(), IgnoreSideEffects); in isIdenticalStmt()
DStackAddrEscapeChecker.cpp122 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
DObjCSelfInitChecker.cpp217 checkForInvalidSelf(S->getRetValue(), C, in checkPreStmt()
/external/llvm-project/clang/lib/ARCMigrate/
DTransAutoreleasePool.cpp307 if ((retS->getRetValue() == nullptr || in handlePoolScope()
308 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
DTransRetainReleaseDealloc.cpp198 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
/external/clang/lib/ARCMigrate/
DTransAutoreleasePool.cpp308 if ((retS->getRetValue() == nullptr || in handlePoolScope()
309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
DTransRetainReleaseDealloc.cpp194 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
/external/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp99 if (const Expr *RE = RS->getRetValue()) in getSVal()
/external/llvm-project/clang/lib/AST/Interp/
DByteCodeStmtGen.cpp164 if (const Expr *RE = RS->getRetValue()) { in visitReturnStmt()
/external/llvm-project/clang-tools-extra/clangd/
DHover.cpp408 if (!OnlyReturn || !OnlyReturn->getRetValue()) in getterVariableName()
410 return fieldName(OnlyReturn->getRetValue()); in getterVariableName()
433 if (!Ret || !Ret->getRetValue()) in setterVariableName()
435 const Expr *RetVal = Ret->getRetValue()->IgnoreCasts(); in setterVariableName()
/external/llvm-project/clang/lib/Analysis/
DConstructionContext.cpp121 assert(!RS->getRetValue()->getType().getCanonicalType() in createBoundTemporaryFromLayers()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp125 if (const Expr *RE = RS->getRetValue()) in getSVal()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DNonConstParameterCheck.cpp89 markCanNotBeConst(R->getRetValue(), true); in check()
DSimplifyBooleanExprCheck.cpp285 if (const auto *Bool = dyn_cast<CXXBoolLiteralExpr>(Ret->getRetValue())) { in stmtReturnsBool()
289 if (const auto *Unary = dyn_cast<UnaryOperator>(Ret->getRetValue())) { in stmtReturnsBool()
/external/llvm-project/lldb/tools/lldb-instr/
DInstrument.cpp140 Expr *E = Stmt->getRetValue(); in VisitReturnStmt()
/external/clang/lib/Sema/
DSemaLambda.cpp561 if (Expr *retValue = ret->getRetValue()) in findEnumForBlockReturn()
595 Expr *retValue = ret->getRetValue(); in adjustBlockReturnsToEnum()
687 const Expr *RetE = RS->getRetValue(); in deduceClosureReturnType()

123