aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
diff options
context:
space:
mode:
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();