From: Ted Kremenek Date: Sat, 15 Mar 2008 03:05:30 +0000 (+0000) Subject: Added transfer function support in GRExprEngine for __extension__. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5139c78fe25c2b91e34bde4013f15a42db5fea2b;p=clang 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 --- 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(SubV)));