diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-26 22:28:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-26 22:28:53 +0000 |
commit | a0f7ff334f86926356491ec78ab3066247dc93b1 (patch) | |
tree | 090735b51ca45075a15791563b2ee1b810ead6cf /include | |
parent | dcbab9cf5a23da7cfaf815609aa422c789d4996e (diff) | |
download | external_llvm-a0f7ff334f86926356491ec78ab3066247dc93b1.zip external_llvm-a0f7ff334f86926356491ec78ab3066247dc93b1.tar.gz external_llvm-a0f7ff334f86926356491ec78ab3066247dc93b1.tar.bz2 |
Fix Lint printing warnings multiple times. Remove the ErrorStr
option from lintModule, which was an artifact from being
based on Verifier code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/Lint.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/Lint.h b/include/llvm/Analysis/Lint.h index 2f01366..eb65d22 100644 --- a/include/llvm/Analysis/Lint.h +++ b/include/llvm/Analysis/Lint.h @@ -38,8 +38,7 @@ FunctionPass *createLintPass(); /// This should only be used for debugging, because it plays games with /// PassManagers and stuff. void lintModule( - const Module &M, ///< The module to be checked - std::string *ErrorInfo = 0 ///< Information about failures. + const Module &M ///< The module to be checked ); // lintFunction - Check a function. |