OSDN Git Service

Fix a comment.
authorDan Gohman <gohman@apple.com>
Thu, 8 Apr 2010 15:57:10 +0000 (15:57 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 8 Apr 2010 15:57:10 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100774 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Verifier.cpp

index bfdd338..daf74bf 100644 (file)
@@ -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");