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 | 87c57acfb760e71fae91b0bc30096a82cae3cb93 (patch) | |
tree | 9bf8dc17d05aeff7d008f4331a16bc89caddb4ce /clang/lib/Sema/SemaStmt.cpp | |
parent | af917d8f850c3abb92ca98ea84e8e58503eee4fb (diff) | |
download | bcm5719-llvm-87c57acfb760e71fae91b0bc30096a82cae3cb93.tar.gz bcm5719-llvm-87c57acfb760e71fae91b0bc30096a82cae3cb93.zip |
Reflow some comments.
llvm-svn: 71936
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r-- | clang/lib/Sema/SemaStmt.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp index 647deb1e488..d59443b2cbc 100644 --- a/clang/lib/Sema/SemaStmt.cpp +++ b/clang/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(); |