diff options
author | Mike Stump <mrs@apple.com> | 2009-05-16 07:39:55 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-16 07:39:55 +0000 |
commit | 390b4cc8b45a05612349269ef08faab3e4688f06 (patch) | |
tree | b98456ec626f3ed6d88aa89d02e279617514faa0 /lib/Sema/SemaStmt.cpp | |
parent | c6e35aae23bc3cea7daf5ee075fa695c01c0f66f (diff) |
Reflow some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r-- | lib/Sema/SemaStmt.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp index 647deb1e48..d59443b2cb 100644 --- a/lib/Sema/SemaStmt.cpp +++ b/lib/Sema/SemaStmt.cpp @@ -380,9 +380,9 @@ Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, StmtArg Switch, Diag(TheDefaultStmt->getDefaultLoc(), diag::note_duplicate_case_prev); // FIXME: Remove the default statement from the switch block so that - // we'll return a valid AST. This requires recursing down the - // AST and finding it, not something we are set up to do right now. For - // now, just lop the entire switch stmt out of the AST. + // we'll return a valid AST. This requires recursing down the AST and + // finding it, not something we are set up to do right now. For now, + // just lop the entire switch stmt out of the AST. CaseListIsErroneous = true; } TheDefaultStmt = DS; @@ -436,8 +436,8 @@ Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, StmtArg Switch, diag::err_duplicate_case) << CaseVals[i].first.toString(10); Diag(CaseVals[i].second->getLHS()->getLocStart(), diag::note_duplicate_case_prev); - // FIXME: We really want to remove the bogus case stmt from - // the substmt, but we have no way to do this right now. + // FIXME: We really want to remove the bogus case stmt from the + // substmt, but we have no way to do this right now. CaseListIsErroneous = true; } } @@ -522,17 +522,16 @@ Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, StmtArg Switch, << OverlapVal.toString(10); Diag(OverlapStmt->getLHS()->getLocStart(), diag::note_duplicate_case_prev); - // FIXME: We really want to remove the bogus case stmt from - // the substmt, but we have no way to do this right now. + // FIXME: We really want to remove the bogus case stmt from the + // substmt, but we have no way to do this right now. CaseListIsErroneous = true; } } } } - // FIXME: If the case list was broken is some way, we don't have a - // good system to patch it up. Instead, just return the whole - // substmt as broken. + // FIXME: If the case list was broken is some way, we don't have a good system + // to patch it up. Instead, just return the whole substmt as broken. if (CaseListIsErroneous) return StmtError(); |