summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-12 00:20:22 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-12 00:20:22 +0000
commit2fdc07ee8972b41032a98ed7699fed132557a78e (patch)
treefecaa4a1b5a3ed907b0548dfec31d907ee0bdc6e /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
parent3e465fb225ee2c50edeffda34183991da6300d2d (diff)
downloadbcm5719-llvm-2fdc07ee8972b41032a98ed7699fed132557a78e.tar.gz
bcm5719-llvm-2fdc07ee8972b41032a98ed7699fed132557a78e.zip
Revert "[analyzer] Treat LValueBitCasts like regular pointer bit casts."
This does not actually give us the right behavior for reinterpret_cast of references. Reverting so I can think about it some more. This reverts commit 50a75a6e26a49011150067adac556ef978639fe6. llvm-svn: 158341
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index fb41a9384c8..a95f565b6c9 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -1641,7 +1641,7 @@ void ExprEngine::evalLoad(ExplodedNodeSet &Dst,
assert(!isa<NonLoc>(location) && "location cannot be a NonLoc.");
assert(!isa<loc::ObjCPropRef>(location));
- // Are we loading from a reference? This actually results in two loads; one
+ // Are we loading from a region? This actually results in two loads; one
// to fetch the address of the referenced value and one to fetch the
// referenced value.
if (const TypedValueRegion *TR =
OpenPOWER on IntegriCloud