[doc] extend.texi -- clarify no_sanitize

Gerald Pfeifer gerald@pfeifer.com
Sun Jun 9 15:42:00 GMT 2019


In some interpretations "not...of all" may not be seen as 
100% clear, so I propose to use "not...of any".

On the way fix the grammar in the next sentence.

Sandra, and Martin as the original author, does this makes 
sense for you?

Gerald


2019-06-09  Gerald Pfeifer  <gerald@pfeifer.com>

	* doc/extend.texi (Common Function Attributes): Clarify
	no_sanitize.  Fix grammar.

Index: doc/extend.texi
===================================================================
--- doc/extend.texi	(revision 272089)
+++ doc/extend.texi	(working copy)
@@ -3215,9 +3215,9 @@ marked symbols.
 @item no_sanitize ("@var{sanitize_option}")
 @cindex @code{no_sanitize} function attribute
 The @code{no_sanitize} attribute on functions is used
-to inform the compiler that it should not do sanitization of all options
+to inform the compiler that it should not do sanitization of any option
 mentioned in @var{sanitize_option}.  A list of values acceptable by
-@option{-fsanitize} option can be provided.
+the @option{-fsanitize} option can be provided.
 
 @smallexample
 void __attribute__ ((no_sanitize ("alignment", "object-size")))



More information about the Gcc-patches mailing list