Searched refs:ArgExpr (Results 1 - 18 of 18) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp99 const Expr *ArgExpr,
256 const Expr *ArgExpr,
274 Report->addRange(ArgExpr->getSourceRange());
295 const Expr *ArgExpr = CE->getArg(FunctionsToTrack[idx].Param); local
296 if (SymbolRef V = getAsPointeeSymbol(ArgExpr, C))
315 Report->addRange(ArgExpr->getSourceRange());
329 const Expr *ArgExpr = CE->getArg(FunctionsToTrack[idx].Param); local
330 SVal ArgSVal = State->getSVal(ArgExpr, C.getLocationContext());
358 if (isEnclosingFunctionParam(ArgExpr))
367 Report->addRange(ArgExpr
255 generateDeallocatorMismatchReport(const AllocationPair &AP, const Expr *ArgExpr, CheckerContext &C) const argument
457 const Expr *ArgExpr = CE->getArg(FunctionsToTrack[idx].Param); local
615 const Expr *ArgExpr = CE->getArg(FunctionsToTrack[Idx].Param); local
[all...]
H A DChrootChecker.cpp107 const Expr *ArgExpr = CE->getArg(0); local
108 SVal ArgVal = state->getSVal(ArgExpr, C.getLocationContext());
H A DMallocChecker.cpp956 const Expr *ArgExpr,
963 SVal ArgVal = State->getSVal(ArgExpr, C.getLocationContext());
988 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr);
996 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr);
1013 ReportBadFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr);
1044 ReportMismatchedDealloc(C, ArgExpr->getSourceRange(),
1056 ReportOffsetFree(C, ArgVal, ArgExpr->getSourceRange(), ParentExpr,
955 FreeMemAux(CheckerContext &C, const Expr *ArgExpr, const Expr *ParentExpr, ProgramStateRef State, bool Hold, bool &ReleasedAllocated, bool ReturnsNullOnFailure) const argument
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DASTDiagnostic.cpp1075 Expr *ArgExpr = 0; local
1079 ArgExpr = Iter->getAsExpr();
1081 ArgExpr = DefaultNTTPD->getDefaultArgument();
1083 if (ArgExpr)
1085 dyn_cast<SubstNonTypeTemplateParmExpr>(ArgExpr))
1086 ArgExpr = SNTTPE->getReplacement();
1088 return ArgExpr;
1093 llvm::APInt GetInt(const TSTiterator &Iter, Expr *ArgExpr) { argument
1096 if (Iter.isEnd() && ArgExpr->isValueDependent())
1101 ArgExpr
1111 GetValueDecl(const TSTiterator &Iter, Expr *ArgExpr) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp2966 if (DeclRefExpr *ArgExpr = dyn_cast<DeclRefExpr>(Arg.getAsExpr())) {
2967 SS.Adopt(ArgExpr->getQualifierLoc());
2968 NameInfo = ArgExpr->getNameInfo();
2969 } else if (DependentScopeDeclRefExpr *ArgExpr =
2971 SS.Adopt(ArgExpr->getQualifierLoc());
2972 NameInfo = ArgExpr->getNameInfo();
2973 } else if (CXXDependentScopeMemberExpr *ArgExpr =
2975 if (ArgExpr->isImplicitAccess()) {
2976 SS.Adopt(ArgExpr->getQualifierLoc());
2977 NameInfo = ArgExpr
5687 Expr *ArgExpr = Args[I].getAsExpr(); local
[all...]
H A DSemaAccess.cpp1733 Expr *ArgExpr,
1746 << (ArgExpr ? ArgExpr->getSourceRange() : SourceRange());
1731 CheckMemberOperatorAccess(SourceLocation OpLoc, Expr *ObjectExpr, Expr *ArgExpr, DeclAccessPair Found) argument
H A DSemaChecking.cpp2187 const Expr *ArgExpr = ExprArgs[*i]; local
2191 if (const RecordType *UT = ArgExpr->getType()->getAsUnionType()) {
2194 dyn_cast<CompoundLiteralExpr>(ArgExpr))
2197 ArgExpr = ILE->getInit(0);
2201 if (ArgExpr->EvaluateAsBooleanCondition(Result, Context) && !Result)
2202 Diag(CallSiteLoc, diag::warn_null_arg) << ArgExpr->getSourceRange();
H A DSemaDeclAttr.cpp314 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); local
315 StringLiteral *Literal = dyn_cast<StringLiteral>(ArgExpr->IgnoreParenCasts());
317 *ArgLocation = ArgExpr->getLocStart();
320 Diag(ArgExpr->getLocStart(), diag::err_attribute_argument_type)
H A DSemaExpr.cpp4220 ExprResult ArgExpr = local
4222 if (ArgExpr.isInvalid())
4225 Arg = ArgExpr.takeAs<Expr>();
4289 const Expr *ArgExpr) {
4300 if (ArgExpr->isNullPointerConstant(Context,
4302 Diag(CallLoc, diag::warn_null_arg) << ArgExpr->getSourceRange();
4312 Context.getAsConstantArrayType(ArgExpr->IgnoreParenImpCasts()->getType());
4318 << ArgExpr->getSourceRange()
4287 CheckStaticArrayArgument(SourceLocation CallLoc, ParmVarDecl *Param, const Expr *ArgExpr) argument
H A DSemaOverload.cpp6636 /// if any, found in visible type conversion functions found in ArgExpr's type.
6637 static Qualifiers CollectVRQualifiers(ASTContext &Context, Expr* ArgExpr) { argument
6641 ArgExpr->getType()->getAs<MemberPointerType>())
6644 TyRec = ArgExpr->getType()->getAs<RecordType>();
H A DSemaDeclCXX.cpp3004 ExprResult ArgExpr = local
3007 if (ArgExpr.isInvalid())
3009 Args.push_back(CastForMoving(SemaRef, ArgExpr.take(), PD->getType()));
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseDecl.cpp308 ExprResult ArgExpr(ParseAssignmentExpression());
309 if (ArgExpr.isInvalid()) {
313 ArgExprs.push_back(ArgExpr.release());
339 ExprResult ArgExpr(ParseConstantExpression());
340 if (ArgExpr.isInvalid()) {
344 ArgsUnion ExprList = ArgExpr.take();
1161 ExprResult ArgExpr(ParseAssignmentExpression());
1162 if (ArgExpr.isInvalid()) {
1167 ArgExprs.push_back(ArgExpr.release());
2312 ExprResult ArgExpr local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExprObjC.h1316 void setArg(unsigned Arg, Expr *ArgExpr) {
1318 getArgs()[Arg] = ArgExpr;
H A DExpr.h2204 void setArg(unsigned Arg, Expr *ArgExpr) {
2206 SubExprs[Arg+getNumPreArgs()+PREARGS_START] = ArgExpr;
H A DExprCXX.h1178 void setArg(unsigned Arg, Expr *ArgExpr) {
1180 Args[Arg] = ArgExpr;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp2729 CastExpr *ArgExpr = NoTypeInfoCStyleCastExpr(Context, local
2733 ClsExprs.push_back(ArgExpr);
2837 CastExpr *ArgExpr = NoTypeInfoCStyleCastExpr(Context, local
2841 ClsExprs.push_back(ArgExpr);
H A DRewriteModernObjC.cpp3450 CastExpr *ArgExpr = NoTypeInfoCStyleCastExpr(Context, local
3453 MsgExprs.push_back(ArgExpr);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3437 const Expr *ArgExpr);
4962 Expr *ArgExpr,

Completed in 580 milliseconds