]> granicus.if.org Git - clang/commitdiff
Almost missed this one... Doc update for last change.
authorMike Stump <mrs@apple.com>
Tue, 27 Oct 2009 02:07:23 +0000 (02:07 +0000)
committerMike Stump <mrs@apple.com>
Tue, 27 Oct 2009 02:07:23 +0000 (02:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85196 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index 886b8869c84b5b5f629083e17d10e6e6462ad8cd..36f95a455a90741117c16fb4e8c4a36e3e78613e 100644 (file)
@@ -1044,10 +1044,11 @@ void Sema::MergeVarDecl(VarDecl *New, Decl *OldD) {
 /// Statement that should return a value.
 ///
 /// \returns AlwaysFallThrough iff we always fall off the end of the statement,
-/// MaybeFallThroughOrReturn iff we might or might not fall off the end and
-/// MaybeFallThrough iff we might or might not fall off the end and
-/// NeverFallThrough iff we never fall off the end of the statement.  We assume
-/// that functions not marked noreturn will return.
+/// MaybeFallThrough iff we might or might not fall off the end,
+/// NeverFallThroughOrReturn iff we never fall off the end of the statement or
+/// return.  We assume NeverFallThrough iff we never fall off the end of the
+/// statement but we may return.  We assume that functions not marked noreturn
+/// will return.
 Sema::ControlFlowKind Sema::CheckFallThrough(Stmt *Root) {
   // FIXME: Eventually share this CFG object when we have other warnings based
   // of the CFG.  This can be done using AnalysisContext.