Added transfer function support in GRExprEngine for __extension__.

llvm-svn: 48385
This commit is contained in:
Ted Kremenek 2008-03-15 03:05:30 +00:00
parent dad80ba9b1
commit 5c98d1d641
1 changed files with 4 additions and 0 deletions

View File

@ -926,6 +926,10 @@ void GRExprEngine::VisitUnaryOperator(UnaryOperator* U, NodeTy* Pred,
// Handle all other unary operators.
switch (U->getOpcode()) {
case UnaryOperator::Extension:
St = SetRVal(St, U, SubV);
break;
case UnaryOperator::Minus:
St = SetRVal(St, U, EvalMinus(U, cast<NonLVal>(SubV)));