From: Nicholas Nethercote Date: Mon, 27 Jul 2009 22:21:22 +0000 (+0000) Subject: Clarify a comment. X-Git-Tag: svn/VALGRIND_3_5_0~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df02ee0eb8cd2b3edcaffd064a24e805119a3aaf;p=thirdparty%2Fvalgrind.git Clarify a comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10641 --- diff --git a/include/pub_tool_tooliface.h b/include/pub_tool_tooliface.h index 1a36f158aa..19f2c4c419 100644 --- a/include/pub_tool_tooliface.h +++ b/include/pub_tool_tooliface.h @@ -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.