diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-09-30 05:35:42 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-09-30 05:35:42 +0000 |
| commit | f1b299952a9c2b8650ae42ed20a2a4a35af24232 (patch) | |
| tree | d180351d2f1f0ab4336af24d04fea19498849528 /clang/lib/Analysis/GRExprEngine.cpp | |
| parent | 76bccf6221a85b95b627b07b147e34db08508897 (diff) | |
| download | bcm5719-llvm-f1b299952a9c2b8650ae42ed20a2a4a35af24232.tar.gz bcm5719-llvm-f1b299952a9c2b8650ae42ed20a2a4a35af24232.zip | |
Revert last patch, but add a fixme
llvm-svn: 56832
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
| -rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index a4ba1965bb8..40c2b6507b9 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -1687,7 +1687,9 @@ void GRExprEngine::VisitUnaryOperator(UnaryOperator* U, NodeTy* Pred, RVal V = GetRVal(St, Ex); // Perform promotions. - V = EvalCast(V, U->getType()); + // FIXME: This is the right thing to do, but it currently breaks + // a bunch of tests. + // V = EvalCast(V, U->getType()); if (V.isUnknownOrUndef()) { MakeNode(Dst, U, *I, SetRVal(St, U, V)); |

