]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Clarify a comment.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 27 Jul 2009 22:21:22 +0000 (22:21 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 27 Jul 2009 22:21:22 +0000 (22:21 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10641

include/pub_tool_tooliface.h

index 1a36f158aac92843cd2a011c85b73669c4be4c7f..19f2c4c419b00039cc193fccaf61e01f0f4a704b 100644 (file)
@@ -276,9 +276,10 @@ extern void VG_(needs_core_errors) ( void );
 
 /* Want to report errors from tool?  This implies use of suppressions, too. */
 extern void VG_(needs_tool_errors) (
-   // Identify if two errors are equal, or equal enough.  `res' indicates how
-   // close is "close enough".  `res' should be passed on as necessary, eg. if
-   // the Error's `extra' part contains an ExeContext, `res' should be
+   // Identify if two errors are equal, or close enough.  This function is
+   // only called if e1 and e2 will have the same error kind.  `res' indicates
+   // how close is "close enough".  `res' should be passed on as necessary,
+   // eg. if the Error's `extra' part contains an ExeContext, `res' should be
    // passed to VG_(eq_ExeContext)() if the ExeContexts are considered.  Other
    // than that, probably don't worry about it unless you have lots of very
    // similar errors occurring.