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 | bc048307f34c9b18344bdebddf3e7857327307f0 (patch) | |
| tree | 25dd0eca7aa83a7ac8e0d42096cd4098f00a9f91 | |
| parent | 31160e846912db39aa89665fb96e09fdf8c7ec22 (diff) | |
| download | bcm5719-llvm-bc048307f34c9b18344bdebddf3e7857327307f0.tar.gz bcm5719-llvm-bc048307f34c9b18344bdebddf3e7857327307f0.zip | |
Fix a comment.
llvm-svn: 100774
| -rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index bfdd338e884..daf74bff5b3 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/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"); |

