diff options
author | Devang Patel <dpatel@apple.com> | 2007-10-09 17:08:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-10-09 17:08:50 +0000 |
commit | 80fd5f96e6805ac43aab99faabd5b4c8b19551b7 (patch) | |
tree | b1edf05bfb16f1938c2d7276a358ed954d50f156 /CodeGen/CodeGenFunction.h | |
parent | 22d71d6805de7e5da53006e6941ab62ebb3d6156 (diff) |
Fix comment. Describe what it is, instead of how it is used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index 67806d545a..c62541bea5 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -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: |