Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp40 const Expr *ArgE) const;
42 const Expr *ArgE) const;
94 const Expr *ArgE = Call.getArgExpr(idx); in checkPreCall() local
106 if (!ArgE) in checkPreCall()
109 QualType T = ArgE->getType(); in checkPreCall()
126 if (const CompoundLiteralExpr *CE = dyn_cast<CompoundLiteralExpr>(ArgE)) in checkPreCall()
129 ArgE = dyn_cast<Expr>(*(IE->begin())); in checkPreCall()
148 R = genReportNullAttrNonNull(errorNode, ArgE); in checkPreCall()
150 R = genReportReferenceToNullPointer(errorNode, ArgE); in checkPreCall()
175 const ExplodedNode *ErrorNode, const Expr *ArgE) const { in genReportNullAttrNonNull()
[all …]
DMallocChecker.cpp488 std::string getMessageForArg(const Expr *ArgE, in getMessageForArg() argument
2455 const Expr *ArgE = Call->getArgExpr(i)->IgnoreParenCasts(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2456 if (const DeclRefExpr *DE = dyn_cast<DeclRefExpr>(ArgE)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2479 const Expr *ArgE = Call->getArgExpr(0)->IgnoreParenCasts(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2480 if (const DeclRefExpr *ArgDRE = dyn_cast<DeclRefExpr>(ArgE)) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp196 const Expr *ArgE = getArgExpr(Index); in getArgSVal() local
197 if (!ArgE) in getArgSVal()
199 return getSVal(ArgE); in getArgSVal()
203 const Expr *ArgE = getArgExpr(Index); in getArgSourceRange() local
204 if (!ArgE) in getArgSourceRange()
206 return ArgE->getSourceRange(); in getArgSourceRange()
DExprEngine.cpp917 const Expr *ArgE; in Visit() local
919 ArgE = DefE->getExpr(); in Visit()
921 ArgE = DefE->getExpr(); in Visit()
927 dyn_cast<MaterializeTemporaryExpr>(ArgE)) { in Visit()
928 ArgE = MTE->GetTemporaryExpr(); in Visit()
932 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.cpp1173 std::string StackHintGeneratorForSymbol::getMessageForArg(const Expr *ArgE, in getMessageForArg() argument
DBugReporter.cpp1284 if (const Expr *ArgE = *AI) { in reversePropagateInterestingSymbols() local
1288 IE.insert(ArgE); in reversePropagateInterestingSymbols()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h493 virtual std::string getMessageForArg(const Expr *ArgE, unsigned ArgIndex);
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp684 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands() local
685 ArgI != ArgE; ++ArgI) { in lowerCallOperands()
DSelectionDAGBuilder.cpp6875 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands() local
6876 ArgI != ArgE; ++ArgI) { in lowerCallOperands()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1414 ExprResult ArgE = PerformCopyInitialization(Entity, SourceLocation(), argExpr); in CheckMessageArgumentTypes() local
1415 if (ArgE.isInvalid()) in CheckMessageArgumentTypes()
1418 Args[i] = ArgE.getAs<Expr>(); in CheckMessageArgumentTypes()
DSemaExpr.cpp4434 ExprResult ArgE = PerformCopyInitialization( in GatherArgumentsForCall() local
4436 if (ArgE.isInvalid()) in GatherArgumentsForCall()
4439 Arg = ArgE.getAs<Expr>(); in GatherArgumentsForCall()
4995 ExprResult ArgE = in BuildResolvedCallExpr() local
4997 if (ArgE.isInvalid()) in BuildResolvedCallExpr()
5000 Arg = ArgE.getAs<Expr>(); in BuildResolvedCallExpr()
5003 ExprResult ArgE = DefaultArgumentPromotion(Arg); in BuildResolvedCallExpr() local
5005 if (ArgE.isInvalid()) in BuildResolvedCallExpr()
5008 Arg = ArgE.getAs<Expr>(); in BuildResolvedCallExpr()
DSemaTemplate.cpp3346 Expr *ArgE = Arg.getAs<Expr>(); in SubstDefaultTemplateArgumentIfAvailable() local
3347 return TemplateArgumentLoc(TemplateArgument(ArgE), ArgE); in SubstDefaultTemplateArgumentIfAvailable()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp1441 ArgI = E->arg_begin(), ArgE = E->arg_end(); ArgI != ArgE; ++ArgI) in VisitCXXUnresolvedConstructExpr() local
DASTWriter.cpp332 for (TemplateSpecializationType::iterator ArgI = T->begin(), ArgE = T->end(); in VisitTemplateSpecializationType() local
333 ArgI != ArgE; ++ArgI) in VisitTemplateSpecializationType()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6476 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10913 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local