[cfe-commits] r48385 - /cfe/trunk/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Fri Mar 14 20:05:32 PDT 2008
Author: kremenek
Date: Fri Mar 14 22:05:30 2008
New Revision: 48385
URL: http://llvm.org/viewvc/llvm-project?rev=48385&view=rev
Log:
Added transfer function support in GRExprEngine for __extension__.
Modified:
cfe/trunk/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/GRExprEngine.cpp?rev=48385&r1=48384&r2=48385&view=diff
==============================================================================
--- cfe/trunk/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/Analysis/GRExprEngine.cpp Fri Mar 14 22:05:30 2008
@@ -926,6 +926,10 @@
// 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)));
More information about the cfe-commits
mailing list