From 2d2ee236cf696437cb2189bf4fc913ede115b70d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 28 Jul 2009 19:34:30 +0000 Subject: [PATCH] Add missing break statement. llvm-svn: 77356 --- clang/include/clang/Analysis/PathSensitive/CheckerVisitor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Analysis/PathSensitive/CheckerVisitor.h b/clang/include/clang/Analysis/PathSensitive/CheckerVisitor.h index 72fd5f3dabbf..35afe73f4da9 100644 --- a/clang/include/clang/Analysis/PathSensitive/CheckerVisitor.h +++ b/clang/include/clang/Analysis/PathSensitive/CheckerVisitor.h @@ -38,7 +38,8 @@ public: return; #define PREVISIT(NAME) \ case Stmt::NAME ## Class:\ -static_cast(this)->PreVisit ## NAME(C, static_cast(S)); +static_cast(this)->PreVisit ## NAME(C,static_cast(S));\ +break; #include "clang/Analysis/PathSensitive/CheckerVisitor.def" } }