summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/Lint.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-26 22:28:53 +0000
committerDan Gohman <gohman@apple.com>2010-05-26 22:28:53 +0000
commita0f7ff334f86926356491ec78ab3066247dc93b1 (patch)
tree090735b51ca45075a15791563b2ee1b810ead6cf /include/llvm/Analysis/Lint.h
parentdcbab9cf5a23da7cfaf815609aa422c789d4996e (diff)
downloadllvm-a0f7ff334f86926356491ec78ab3066247dc93b1.tar.gz
llvm-a0f7ff334f86926356491ec78ab3066247dc93b1.tar.bz2
llvm-a0f7ff334f86926356491ec78ab3066247dc93b1.tar.xz
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/llvm/Analysis/Lint.h')
-rw-r--r--include/llvm/Analysis/Lint.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/Lint.h b/include/llvm/Analysis/Lint.h
index 2f0136608d..eb65d22364 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.