diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-03-15 03:05:30 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-03-15 03:05:30 +0000 |
| commit | 5c98d1d6413f6eb0d3317be06603d530d11aa836 (patch) | |
| tree | b96cf2d549e8c3d33060c382babb1cc72006b2e3 /clang | |
| parent | dad80ba9b112a175f325d0639d7bd28c38df2cd3 (diff) | |
| download | bcm5719-llvm-5c98d1d6413f6eb0d3317be06603d530d11aa836.tar.gz bcm5719-llvm-5c98d1d6413f6eb0d3317be06603d530d11aa836.zip | |
Added transfer function support in GRExprEngine for __extension__.
llvm-svn: 48385
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/Analysis/GRExprEngine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Analysis/GRExprEngine.cpp b/clang/Analysis/GRExprEngine.cpp index 209a1d5b4fc..a32999eb513 100644 --- a/clang/Analysis/GRExprEngine.cpp +++ b/clang/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))); |

