Home
last modified time | relevance | path

Searched refs:ArgE (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp40 genReportNullAttrNonNull(const ExplodedNode *ErrorN, const Expr *ArgE) const;
43 const Expr *ArgE) const;
95 const Expr *ArgE = Call.getArgExpr(idx); in checkPreCall() local
107 if (!ArgE) in checkPreCall()
110 QualType T = ArgE->getType(); in checkPreCall()
127 if (const CompoundLiteralExpr *CE = dyn_cast<CompoundLiteralExpr>(ArgE)) in checkPreCall()
130 ArgE = dyn_cast<Expr>(*(IE->begin())); in checkPreCall()
150 R = genReportNullAttrNonNull(errorNode, ArgE); in checkPreCall()
152 R = genReportReferenceToNullPointer(errorNode, ArgE); in checkPreCall()
185 const Expr *ArgE) const { in genReportNullAttrNonNull()
[all …]
DMallocChecker.cpp487 std::string getMessageForArg(const Expr *ArgE, in getMessageForArg() argument
2469 const Expr *ArgE = Call->getArgExpr(i)->IgnoreParenCasts(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2470 if (const DeclRefExpr *DE = dyn_cast<DeclRefExpr>(ArgE)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2493 const Expr *ArgE = Call->getArgExpr(0)->IgnoreParenCasts(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2494 if (const DeclRefExpr *ArgDRE = dyn_cast<DeclRefExpr>(ArgE)) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp214 const Expr *ArgE = getArgExpr(Index); in getArgSVal() local
215 if (!ArgE) in getArgSVal()
217 return getSVal(ArgE); in getArgSVal()
221 const Expr *ArgE = getArgExpr(Index); in getArgSourceRange() local
222 if (!ArgE) in getArgSourceRange()
224 return ArgE->getSourceRange(); in getArgSourceRange()
DExprEngine.cpp936 const Expr *ArgE; in Visit() local
938 ArgE = DefE->getExpr(); in Visit()
940 ArgE = DefE->getExpr(); in Visit()
946 dyn_cast<MaterializeTemporaryExpr>(ArgE)) { in Visit()
947 ArgE = MTE->GetTemporaryExpr(); in Visit()
951 Optional<SVal> ConstantVal = svalBuilder.getConstantVal(ArgE); in Visit()
DBugReporterVisitors.cpp362 const Expr *ArgE = Call->getArgExpr(I); in visitNodeMaybeUnsuppress() local
363 if (!ArgE) in visitNodeMaybeUnsuppress()
370 if (bugreporter::trackNullOrUndefValue(N, ArgE, BR, /*IsArg=*/true, in visitNodeMaybeUnsuppress()
DPathDiagnostic.cpp1171 std::string StackHintGeneratorForSymbol::getMessageForArg(const Expr *ArgE, in getMessageForArg() argument
DBugReporter.cpp1282 if (const Expr *ArgE = *AI) { in reversePropagateInterestingSymbols() local
1286 IE.insert(ArgE); in reversePropagateInterestingSymbols()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp126 for (auto ArgI = F.arg_begin(), ArgE = F.arg_end(); ArgI != ArgE; in cloneFunctionDecl() local
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h492 virtual std::string getMessageForArg(const Expr *ArgE, unsigned ArgIndex);
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp688 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands() local
689 ArgI != ArgE; ++ArgI) { in lowerCallOperands()
DSelectionDAGBuilder.cpp6697 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands() local
6698 ArgI != ArgE; ++ArgI) { in lowerCallOperands()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1650 ExprResult ArgE = PerformCopyInitialization(Entity, SourceLocation(), argExpr); in CheckMessageArgumentTypes() local
1651 if (ArgE.isInvalid()) in CheckMessageArgumentTypes()
1654 Args[i] = ArgE.getAs<Expr>(); in CheckMessageArgumentTypes()
DSemaExpr.cpp4597 ExprResult ArgE = PerformCopyInitialization( in GatherArgumentsForCall() local
4599 if (ArgE.isInvalid()) in GatherArgumentsForCall()
4602 Arg = ArgE.getAs<Expr>(); in GatherArgumentsForCall()
5171 ExprResult ArgE = in BuildResolvedCallExpr() local
5173 if (ArgE.isInvalid()) in BuildResolvedCallExpr()
5176 Arg = ArgE.getAs<Expr>(); in BuildResolvedCallExpr()
5179 ExprResult ArgE = DefaultArgumentPromotion(Arg); in BuildResolvedCallExpr() local
5181 if (ArgE.isInvalid()) in BuildResolvedCallExpr()
5184 Arg = ArgE.getAs<Expr>(); in BuildResolvedCallExpr()
DSemaTemplate.cpp3396 Expr *ArgE = Arg.getAs<Expr>(); in SubstDefaultTemplateArgumentIfAvailable() local
3397 return TemplateArgumentLoc(TemplateArgument(ArgE), ArgE); in SubstDefaultTemplateArgumentIfAvailable()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp1485 ArgI = E->arg_begin(), ArgE = E->arg_end(); ArgI != ArgE; ++ArgI) in VisitCXXUnresolvedConstructExpr() local
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6771 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp11751 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local