[llvm-commits] [llvm] r107656 - /llvm/trunk/lib/Analysis/Lint.cpp

Dan Gohman gohman at apple.com
Tue Jul 6 08:21:57 PDT 2010


Author: djg
Date: Tue Jul  6 10:21:57 2010
New Revision: 107656

URL: http://llvm.org/viewvc/llvm-project?rev=107656&view=rev
Log:
Add a comment.

Modified:
    llvm/trunk/lib/Analysis/Lint.cpp

Modified: llvm/trunk/lib/Analysis/Lint.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/Lint.cpp?rev=107656&r1=107655&r2=107656&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/Lint.cpp (original)
+++ llvm/trunk/lib/Analysis/Lint.cpp Tue Jul  6 10:21:57 2010
@@ -19,7 +19,8 @@
 // 
 // Another limitation is that it assumes all code will be executed. A store
 // through a null pointer in a basic block which is never reached is harmless,
-// but this pass will warn about it anyway.
+// but this pass will warn about it anyway. This is the main reason why most
+// of these checks live here instead of in the Verifier pass.
 //
 // Optimization passes may make conditions that this pass checks for more or
 // less obvious. If an optimization pass appears to be introducing a warning,





More information about the llvm-commits mailing list