From 9258a645ea0879002cdb6b49fb85ec28305b01d6 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 21 Feb 2008 19:10:12 +0000 Subject: [PATCH] Remove incorrect casts from UnknownVal to NonLVal. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47446 91177308-0d34-0410-b5e6-96231b3b80d8 --- Analysis/GRSimpleVals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Analysis/GRSimpleVals.cpp b/Analysis/GRSimpleVals.cpp index ed0706be89..02df7a5b64 100644 --- a/Analysis/GRSimpleVals.cpp +++ b/Analysis/GRSimpleVals.cpp @@ -126,7 +126,7 @@ RVal GRSimpleVals::EvalBinOp(ValueManager& ValMgr, BinaryOperator::Opcode Op, switch (L.getSubKind()) { default: - return cast(UnknownVal()); + return UnknownVal(); case nonlval::ConcreteIntKind: @@ -226,7 +226,7 @@ RVal GRSimpleVals::EvalEQ(ValueManager& ValMgr, LVal L, LVal R) { } // FIXME: Implement unification - return cast(UnknownVal()); + return UnknownVal(); //assert (!isa(R) && "FIXME: Implement unification."); break; -- 2.40.0