Home
last modified time | relevance | path

Searched refs:evalCast (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp304 return evalCast(*Val, CE->getType(), SE->getType()); in getConstantVal()
439 return evalCast(val, castTy, originalTy); in evalIntegralCast()
443 return evalCast(val, castTy, originalTy); in evalIntegralCast()
467 return evalCast(val, castTy, originalTy); in evalIntegralCast()
471 SVal SValBuilder::evalCast(SVal val, QualType castTy, QualType originalTy) { in evalCast() function in SValBuilder
DExprEngineC.cpp146 V = svalBuilder.evalCast(V, CLHSTy, LTy); in VisitBinaryOperator()
149 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
164 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator()
169 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
347 V = svalBuilder.evalCast(V, T, ExTy); in VisitCast()
606 X = getSValBuilder().evalCast(RHSVal, B->getType(), RHS->getType()); in VisitLogicalExpr()
DSimpleConstraintManager.cpp81 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
DExprEngineCXX.cpp509 Result = svalBuilder.evalCast(PlacementLoc, CNE->getType(), in VisitCXXNewExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp156 svalBuilder.evalCast(sizeD, SizeTy, SE->getType()).castAs<NonLoc>(); in checkPreStmt()
DCStringChecker.cpp392 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in CheckBufferAccess()
412 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); in CheckBufferAccess()
505 SVal FirstStart = svalBuilder.evalCast(*firstLoc, CharPtrTy, in CheckOverlap()
859 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in IsFirstBufInBound()
1060 loc::MemRegionVal DestRegCharVal = SvalBuilder.evalCast(destRegVal, in evalCopyCommon()
1462 lenVal = svalBuilder.evalCast(lenVal, sizeTy, lenExpr->getType()); in evalStrcpyCommon()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h86 SVal evalCast(SVal val, QualType castTy, QualType originalType);
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java155 return evalCast((TypeCast) t); in eval()
440 private Const.Value evalCast(TypeCast t) { in evalCast() method in ConstEvaluator