aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-03-15 03:05:30 +0000
committerTed Kremenek <kremenek@apple.com>2008-03-15 03:05:30 +0000
commit5139c78fe25c2b91e34bde4013f15a42db5fea2b (patch)
tree950463fb04ec7c6aafff312a1d2c5b92ad9c2a79
parent3652c2d8df0b594cf9b552eaedfd3ed7fbbed0f6 (diff)
Added transfer function support in GRExprEngine for __extension__.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48385 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Analysis/GRExprEngine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Analysis/GRExprEngine.cpp b/Analysis/GRExprEngine.cpp
index 209a1d5b4f..a32999eb51 100644
--- a/Analysis/GRExprEngine.cpp
+++ b/Analysis/GRExprEngine.cpp
@@ -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)));