[cfe-commits] r84696 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Ted Kremenek kremenek at apple.com
Tue Oct 20 16:48:30 PDT 2009


Author: kremenek
Date: Tue Oct 20 18:48:29 2009
New Revision: 84696

URL: http://llvm.org/viewvc/llvm-project?rev=84696&view=rev
Log:
Add FIXME.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=84696&r1=84695&r2=84696&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Tue Oct 20 18:48:29 2009
@@ -1059,6 +1059,8 @@
 /// NeverFallThrough iff we never fall off the end of the statement.  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.
   llvm::OwningPtr<CFG> cfg (CFG::buildCFG(Root, &Context));
 
   // FIXME: They should never return 0, fix that, delete this code.





More information about the cfe-commits mailing list