s/Method/Function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2246 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-04-14 06:14:15 +00:00
parent 7faa883665
commit dd4144a587

View File

@ -1,6 +1,6 @@
//===-- llvm/Analysis/Verifier.h - Module Verifier ---------------*- C++ -*-==// //===-- llvm/Analysis/Verifier.h - Module Verifier ---------------*- C++ -*-==//
// //
// This file defines the method verifier interface, that can be used for some // This file defines the function verifier interface, that can be used for some
// sanity checking of input to the system. // sanity checking of input to the system.
// //
// Note that this does not provide full 'java style' security and verifications, // Note that this does not provide full 'java style' security and verifications,
@ -17,7 +17,7 @@ class Pass;
class Module; class Module;
class Function; class Function;
// createVerifierPass - Check a module or method for validity. If errors are // createVerifierPass - Check a module or function for validity. If errors are
// detected, error messages corresponding to the problem are printed to stderr. // detected, error messages corresponding to the problem are printed to stderr.
// //
Pass *createVerifierPass(); Pass *createVerifierPass();
@ -27,8 +27,8 @@ Pass *createVerifierPass();
// //
bool verifyModule(const Module *M); bool verifyModule(const Module *M);
// verifyMethod - Check a method for errors, useful for use when debugging a // verifyFunction - Check a function for errors, useful for use when debugging a
// pass. // pass.
bool verifyMethod(const Function *M); bool verifyFunction(const Function *F);
#endif #endif