[analyzer] Minor cleanup in SimpleStreamChecker's class definition.
authorJordan Rose <jordan_rose@apple.com>
Thu, 1 Nov 2012 00:18:41 +0000 (00:18 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 1 Nov 2012 00:18:41 +0000 (00:18 +0000)
No functionality change.

llvm-svn: 167187

clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp

index 22176fd..7079948 100644 (file)
@@ -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();