зеркало из https://github.com/microsoft/clang-1.git
Almost missed this one... Doc update for last change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85196 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
1d7e767dc8
Коммит
cf57d61525
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче