]> granicus.if.org Git - clang/commitdiff
Fix comment. Describe what it is, instead of how it is used.
authorDevang Patel <dpatel@apple.com>
Tue, 9 Oct 2007 17:08:50 +0000 (17:08 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 9 Oct 2007 17:08:50 +0000 (17:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42791 91177308-0d34-0410-b5e6-96231b3b80d8

CodeGen/CodeGenFunction.h

index 67806d545a86e892fc7298ad49f4cfbc0fd92f19..c62541bea5b1073738ecb2e1ef6ca9ce0b6c0585 100644 (file)
@@ -240,12 +240,12 @@ private:
   }; 
   llvm::SmallVector<BreakContinue, 8> BreakContinueStack;
   
-  /// SwitchInsn - This is used by EmitCaseStmt() and EmitDefaultStmt() to
-  /// populate switch instruction
+  /// SwitchInsn - This is nearest current switch instruction. It is null if
+  /// if current context is not in a switch.
   llvm::SwitchInst *SwitchInsn;
 
-  /// CaseRangeBlock - This is used, while constructiong swtich instruction,
-  /// to hold "if" condition for case statement ranges.
+  /// CaseRangeBlock - This block holds if condition check for last case 
+  /// statement range in current switch instruction.
   llvm::BasicBlock *CaseRangeBlock;
 
 public: