diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-08 15:57:10 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-08 15:57:10 +0000 |
commit | bcf9f00ed5c350d9239e7d5d8c7aca0dfdf4efa8 (patch) | |
tree | 70ac9d7104e9aa067e9438adc175756e81a4e2a8 /lib | |
parent | 6a5975f49fc632a2f288b9fb7004fd8ed26713ef (diff) | |
download | llvm-bcf9f00ed5c350d9239e7d5d8c7aca0dfdf4efa8.tar.gz llvm-bcf9f00ed5c350d9239e7d5d8c7aca0dfdf4efa8.tar.bz2 llvm-bcf9f00ed5c350d9239e7d5d8c7aca0dfdf4efa8.tar.xz |
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Verifier.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index bfdd338e88..daf74bff5b 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -1933,7 +1933,9 @@ FunctionPass *llvm::createVerifierPass(VerifierFailureAction action) { } -// verifyFunction - Create +/// verifyFunction - Check a function for errors, printing messages on stderr. +/// Return true if the function is corrupt. +/// bool llvm::verifyFunction(const Function &f, VerifierFailureAction action) { Function &F = const_cast<Function&>(f); assert(!F.isDeclaration() && "Cannot verify external functions"); |