summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-03-30 05:55:46 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-03-30 05:55:46 +0000
commita865b79f871cb894efe42bed04b818c9c1f13570 (patch)
treede7c1c70b44ff0e7738c23e657a0a521d4ead66a /clang/lib/Analysis/GRExprEngine.cpp
parentb92a76ff4f81df71562f3c07697555013e044eec (diff)
downloadbcm5719-llvm-a865b79f871cb894efe42bed04b818c9c1f13570.tar.gz
bcm5719-llvm-a865b79f871cb894efe42bed04b818c9c1f13570.zip
Implement a FIXME.
llvm-svn: 68024
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index 8241d13a0b3..41f6453a903 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/lib/Analysis/GRExprEngine.cpp
@@ -1877,7 +1877,7 @@ void GRExprEngine::VisitCast(Expr* CastE, Expr* Ex, NodeTy* Pred, NodeSet& Dst){
// Check for casts from array type to another type.
if (ExTy->isArrayType()) {
// We will always decay to a pointer.
- V = StateMgr.ArrayToPointer(V);
+ V = StateMgr.ArrayToPointer(cast<Loc>(V));
// Are we casting from an array to a pointer? If so just pass on
// the decayed value.
OpenPOWER on IntegriCloud