Index: base/compiler_specific.h |
diff --git a/base/compiler_specific.h b/base/compiler_specific.h |
index 99e4f8e6b67e583b14884416f0c47fcd95337d20..ebc557ab3f6fcc28fcab5da30aad5081cb4e5655 100644 |
--- a/base/compiler_specific.h |
+++ b/base/compiler_specific.h |
@@ -111,6 +111,7 @@ |
// Annotate a function indicating the caller must examine the return value. |
// Use like: |
// int foo() WARN_UNUSED_RESULT; |
+// To explicitly ignore a result, see |ignore_result()| in basic_types.h. |
Mark Mentovai
2011/05/19 23:17:13
Say <base/basictypes.h>, with no underscore.
|
#if defined(COMPILER_GCC) |
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
#else |