aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/PathSensitive
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-01-19 09:25:53 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-01-19 09:25:53 +0000
commitc39b2bdd4cef51021fe90de91c9fb6d1a15f4d0a (patch)
tree0d4cd454cf7d64d098207bfc732ff4b63cb86ae7 /include/clang/Analysis/PathSensitive
parente8aba3d374813288ee32461a917a3e5dc695f34b (diff)
Fix a serious bug: Tmp3 is the wrong destination set. We should create a new
intermediate destination set Tmp4. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive')
-rw-r--r--include/clang/Analysis/PathSensitive/CheckerVisitor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/CheckerVisitor.h b/include/clang/Analysis/PathSensitive/CheckerVisitor.h
index f5145bbb7a..37ec8def50 100644
--- a/include/clang/Analysis/PathSensitive/CheckerVisitor.h
+++ b/include/clang/Analysis/PathSensitive/CheckerVisitor.h
@@ -66,6 +66,11 @@ break;
default:
assert(false && "Unsupport statement.");
return;
+ case Stmt::CompoundAssignOperatorClass:
+ static_cast<ImplClass*>(this)->PostVisitBinaryOperator(C,
+ static_cast<const BinaryOperator*>(S));
+ break;
+
#define POSTVISIT(NAME, FALLBACK) \
case Stmt::NAME ## Class:\
static_cast<ImplClass*>(this)->\