forked from OSchip/llvm-project
Added transfer function support in GRExprEngine for __extension__.
llvm-svn: 48385
This commit is contained in:
parent
dad80ba9b1
commit
5c98d1d641
|
@ -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)));
|
||||
|
|
Loading…
Reference in New Issue