зеркало из https://github.com/microsoft/clang-1.git
Remove incorrect casts from UnknownVal to NonLVal.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
61e090cbe1
Коммит
9258a645ea
|
@ -126,7 +126,7 @@ RVal GRSimpleVals::EvalBinOp(ValueManager& ValMgr, BinaryOperator::Opcode Op,
|
|||
|
||||
switch (L.getSubKind()) {
|
||||
default:
|
||||
return cast<NonLVal>(UnknownVal());
|
||||
return UnknownVal();
|
||||
|
||||
case nonlval::ConcreteIntKind:
|
||||
|
||||
|
@ -226,7 +226,7 @@ RVal GRSimpleVals::EvalEQ(ValueManager& ValMgr, LVal L, LVal R) {
|
|||
}
|
||||
|
||||
// FIXME: Implement unification
|
||||
return cast<NonLVal>(UnknownVal());
|
||||
return UnknownVal();
|
||||
//assert (!isa<lval::SymbolVal>(R) && "FIXME: Implement unification.");
|
||||
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче