r201850 - Moving the documentation for the sanitizer negation attributes into AttrDocs.

Aaron Ballman aaron at aaronballman.com
Mon Feb 24 06:02:08 PST 2014


On Sun, Feb 23, 2014 at 9:46 PM, Sean Silva <silvas at purdue.edu> wrote:
> Please at least leave a cross-reference to these attributes from where there
> descriptions used to be.

These already have a cross-reference at the bottom of the file, which
sends users to the more-complete documentation. Ie)

Extensions for Dynamic Analysis
===============================

Use ``__has_feature(address_sanitizer)`` to check if the code is being built
with :doc:`AddressSanitizer`.

Use ``__has_feature(thread_sanitizer)`` to check if the code is being built
with :doc:`ThreadSanitizer`.

Use ``__has_feature(memory_sanitizer)`` to check if the code is being built
with :doc:`MemorySanitizer`.

So I think adding another cross-reference doesn't really add much benefit.

~Aaron



More information about the cfe-commits mailing list