]> granicus.if.org Git - clang/commit
For GRExprEngine::EvalBind() (and called visitors), unifiy StoreE and AssignE. Now...
authorTed Kremenek <kremenek@apple.com>
Thu, 2 Sep 2010 00:56:20 +0000 (00:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 2 Sep 2010 00:56:20 +0000 (00:56 +0000)
commit79d73044b7d0adfbd18ee34285395e1d5135f662
tree0445ac314a70c68df53200bbf8ca5f1b1094f976
parent85dd015707143f763617098ec9458bf61db420f1
For GRExprEngine::EvalBind() (and called visitors), unifiy StoreE and AssignE.  Now StoreE (const Stmt*) represents the expression where the store took place, which is the assignment expression if it takes place in an assignment.  This removes some conceptual dissidence as well as removes an extra parameter from the Checker::PreVisitBind() visitor.  It also improves ranges and source location information in analyzer diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112789 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Checker/PathSensitive/Checker.h
include/clang/Checker/PathSensitive/GRExprEngine.h
lib/Checker/GRExprEngine.cpp
lib/Checker/MallocChecker.cpp
lib/Checker/UndefinedAssignmentChecker.cpp
test/Analysis/plist-output.m