зеркало из https://github.com/microsoft/clang-1.git
Remove unused parameter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
7d94a9503c
Коммит
461147fc8d
|
@ -127,7 +127,7 @@ public:
|
|||
const MemRegion *CastRegion(const MemRegion *region, QualType CastToTy);
|
||||
|
||||
/// EvalBinOp - Perform pointer arithmetic.
|
||||
virtual SVal EvalBinOp(const GRState *state, BinaryOperator::Opcode Op,
|
||||
virtual SVal EvalBinOp(BinaryOperator::Opcode Op,
|
||||
Loc lhs, NonLoc rhs, QualType resultTy) {
|
||||
return UnknownVal();
|
||||
}
|
||||
|
|
|
@ -266,8 +266,7 @@ public:
|
|||
/// casts from arrays to pointers.
|
||||
SVal ArrayToPointer(Loc Array);
|
||||
|
||||
SVal EvalBinOp(const GRState *state, BinaryOperator::Opcode Op,Loc L,
|
||||
NonLoc R, QualType resultTy);
|
||||
SVal EvalBinOp(BinaryOperator::Opcode Op,Loc L, NonLoc R, QualType resultTy);
|
||||
|
||||
Store getInitialStore(const LocationContext *InitLoc) {
|
||||
return RBFactory.GetEmptyMap().getRoot();
|
||||
|
@ -916,8 +915,7 @@ SVal RegionStoreManager::ArrayToPointer(Loc Array) {
|
|||
// Pointer arithmetic.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
SVal RegionStoreManager::EvalBinOp(const GRState *state,
|
||||
BinaryOperator::Opcode Op, Loc L, NonLoc R,
|
||||
SVal RegionStoreManager::EvalBinOp(BinaryOperator::Opcode Op, Loc L, NonLoc R,
|
||||
QualType resultTy) {
|
||||
// Assume the base location is MemRegionVal.
|
||||
if (!isa<loc::MemRegionVal>(L))
|
||||
|
|
|
@ -423,6 +423,6 @@ SVal SimpleSValuator::EvalBinOpLN(const GRState *state,
|
|||
}
|
||||
|
||||
// Delegate pointer arithmetic to the StoreManager.
|
||||
return state->getStateManager().getStoreManager().EvalBinOp(state, op, lhs,
|
||||
return state->getStateManager().getStoreManager().EvalBinOp(op, lhs,
|
||||
rhs, resultTy);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче