[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
diff --git a/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp b/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
index 22176fd..7079948 100644
--- a/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
@@ -46,14 +46,14 @@
}
};
-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 @@
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();