summaryrefslogtreecommitdiff
path: root/lib/Analysis/Lint.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-06 15:21:57 +0000
committerDan Gohman <gohman@apple.com>2010-07-06 15:21:57 +0000
commitd3b6e41ffb6aae6a1efc31b0a9f9050234570841 (patch)
tree9bf5d1a1d41d3623408a6219c51e7f6da2025fe2 /lib/Analysis/Lint.cpp
parentb81c771c0d9ab5a980caf3383932b051eafd1a39 (diff)
downloadllvm-d3b6e41ffb6aae6a1efc31b0a9f9050234570841.tar.gz
llvm-d3b6e41ffb6aae6a1efc31b0a9f9050234570841.tar.bz2
llvm-d3b6e41ffb6aae6a1efc31b0a9f9050234570841.tar.xz
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Lint.cpp')
-rw-r--r--lib/Analysis/Lint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/Lint.cpp b/lib/Analysis/Lint.cpp
index 6c137333d6..b1aa4ca688 100644
--- a/lib/Analysis/Lint.cpp
+++ b/lib/Analysis/Lint.cpp
@@ -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,