aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-11-01 00:18:41 +0000
committerJordan Rose <jordan_rose@apple.com>2012-11-01 00:18:41 +0000
commit32f38c11642ddeaeb6c4ffb1e589ab444c825f6e (patch)
treec2c22ed9e149c46638d6a243996159b70d47e5f1 /lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
parentec8d420d4fa57fc6b5a5a2b1446742e976a7ba00 (diff)
[analyzer] Minor cleanup in SimpleStreamChecker's class definition.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp')
-rw-r--r--lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp b/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
index 22176fd5f2..7079948067 100644
--- a/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
@@ -46,14 +46,14 @@ public:
}
};
-class SimpleStreamChecker: public Checker<check::PostStmt<CallExpr>,
- check::PreStmt<CallExpr>,
- check::DeadSymbols > {
+class SimpleStreamChecker : public Checker<check::PostStmt<CallExpr>,
+ check::PreStmt<CallExpr>,
+ check::DeadSymbols > {
mutable IdentifierInfo *IIfopen, *IIfclose;
- mutable OwningPtr<BugType> DoubleCloseBugType;
- mutable OwningPtr<BugType> LeakBugType;
+ OwningPtr<BugType> DoubleCloseBugType;
+ OwningPtr<BugType> LeakBugType;
void initIdentifierInfo(ASTContext &Ctx) const;
@@ -61,9 +61,9 @@ class SimpleStreamChecker: public Checker<check::PostStmt<CallExpr>,
const CallExpr *Call,
CheckerContext &C) const;
- void reportLeaks(SymbolVector LeakedStreams,
- CheckerContext &C,
- ExplodedNode *ErrNode) const;
+ void reportLeaks(SymbolVector LeakedStreams,
+ CheckerContext &C,
+ ExplodedNode *ErrNode) const;
public:
SimpleStreamChecker();