Simplify code a bit and remove unneeded semicolons.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97654 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp
index d7072f0..a4a021f 100644
--- a/lib/Analysis/CFG.cpp
+++ b/lib/Analysis/CFG.cpp
@@ -43,16 +43,13 @@
               AsLValueNotAlwaysAdd = 2,
               AlwaysAddAsLValue = 3 };
 
-public:
-  AddStmtChoice(Kind k)
-    : AsLValue(k >= AlwaysAddAsLValue), AlwaysAddStmt((unsigned)k & 0x1) {}
+  AddStmtChoice(Kind kind) : k(kind) {}
 
-  bool alwaysAdd() const { return (bool) AlwaysAddStmt; };
-  bool asLValue() const { return (bool) AsLValue; };
+  bool alwaysAdd() const { return (unsigned)k & 0x1; }
+  bool asLValue() const { return k >= AlwaysAddAsLValue; }
 
 private:
-  unsigned AsLValue : 1;
-  unsigned AlwaysAddStmt : 1;
+  Kind k;
 };
 
 /// CFGBuilder - This class implements CFG construction from an AST.