mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
[PM] Fix a contradiction in the comments noticed by Anders.
Have I mentioned that functions returning true on error and false on success are confusing? They're more confusing when their name is "verify". Anyways... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7582d8d76f
commit
3bbede5a24
@ -34,14 +34,14 @@ class raw_ostream;
|
||||
/// pass.
|
||||
///
|
||||
/// If there are no errors, the function returns false. If an error is found,
|
||||
/// a message describing the error is written to OS (if non-null) and false is
|
||||
/// a message describing the error is written to OS (if non-null) and true is
|
||||
/// returned.
|
||||
bool verifyFunction(const Function &F, raw_ostream *OS = 0);
|
||||
|
||||
/// \brief Check a module for errors.
|
||||
///
|
||||
/// If there are no errors, the function returns false. If an error is found,
|
||||
/// a message describing the error is written to OS (if non-null) and false is
|
||||
/// a message describing the error is written to OS (if non-null) and true is
|
||||
/// returned.
|
||||
bool verifyModule(const Module &M, raw_ostream *OS = 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user