summaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-02-08 23:55:50 +0000
committerAnna Zaks <ganna@apple.com>2013-02-08 23:55:50 +0000
commitadecec39481f925701e63d7fe3b8bf02dd7ddf01 (patch)
treec28d72c73fb8b614210a48ba3155c8c4aab10652 /lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
parent722cd9e3c0142948b9eb3190211dbc0dd4da4105 (diff)
downloadclang-adecec39481f925701e63d7fe3b8bf02dd7ddf01.tar.gz
[analyzer] Move DefaultBool so that all checkers can share it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp')
-rw-r--r--lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp b/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
index e41ecf4b65..6262cb8ef9 100644
--- a/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
@@ -43,13 +43,6 @@ using namespace clang;
using namespace ento;
namespace {
-// TODO: move this somewhere?
-struct DefaultBool {
- bool val;
- DefaultBool() : val(false) {}
- operator bool() const { return val; }
- DefaultBool &operator=(bool b) { val = b; return *this; }
-};
struct ChecksFilter {
/// Check for missing invalidation method declarations.