зеркало из https://github.com/microsoft/clang-1.git
Add FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
0ba497be27
Коммит
cd6cdeb7d1
|
@ -1059,6 +1059,8 @@ void Sema::MergeVarDecl(VarDecl *New, Decl *OldD) {
|
||||||
/// NeverFallThrough iff we never fall off the end of the statement. We assume
|
/// NeverFallThrough iff we never fall off the end of the statement. We assume
|
||||||
/// that functions not marked noreturn will return.
|
/// that functions not marked noreturn will return.
|
||||||
Sema::ControlFlowKind Sema::CheckFallThrough(Stmt *Root) {
|
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.
|
||||||
llvm::OwningPtr<CFG> cfg (CFG::buildCFG(Root, &Context));
|
llvm::OwningPtr<CFG> cfg (CFG::buildCFG(Root, &Context));
|
||||||
|
|
||||||
// FIXME: They should never return 0, fix that, delete this code.
|
// FIXME: They should never return 0, fix that, delete this code.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче