summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-30 10:13:06 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-30 10:13:06 +0000
commit824fd1dcff88353a7b9754db28bcbc4d6d0cbed5 (patch)
treeb525d39ae47dddb1cc60f0cabb1989851c14b620 /clang/lib/Checker
parenta048c302154af9091107d6e84c12146588255f24 (diff)
downloadbcm5719-llvm-824fd1dcff88353a7b9754db28bcbc4d6d0cbed5.tar.gz
bcm5719-llvm-824fd1dcff88353a7b9754db28bcbc4d6d0cbed5.zip
Introduce an r-value to l-value cast kind. I'm not promising anything
about the reliability of this yet. llvm-svn: 120422
Diffstat (limited to 'clang/lib/Checker')
-rw-r--r--clang/lib/Checker/GRExprEngine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Checker/GRExprEngine.cpp b/clang/lib/Checker/GRExprEngine.cpp
index f541a7ece4a..fc0913bc2f7 100644
--- a/clang/lib/Checker/GRExprEngine.cpp
+++ b/clang/lib/Checker/GRExprEngine.cpp
@@ -2650,6 +2650,7 @@ void GRExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex,
Dst.Add(*I);
return;
+ case CK_LValueToRValue:
case CK_NoOp:
case CK_FunctionToPointerDecay:
for (ExplodedNodeSet::iterator I = S2.begin(), E = S2.end(); I != E; ++I) {
OpenPOWER on IntegriCloud