On Tuesday, 21 January 2014 at 09:11:37 UTC, Brian Schott wrote:
On Tuesday, 21 January 2014 at 08:58:19 UTC, Dicebot wrote:
That reminds me about related topic - do we have any pragma /
attribute reserved for external tools? So that one could, for
example, disable analysis error for specific part of sourc
code without disabling it globally?
I assume you're talking about something like @SuppressWarnings
in Java?
http://docs.oracle.com/javase/7/docs/api/java/lang/SuppressWarnings.html
I was thinking of a more fine-tuned thing, similar to gcc
`__attribute__ (unused)` but generalised a bit to not interfere
with normal attributes by using reserved namespace.
Single @SuppressWarnings (analysis reports in our case) can be a
simpler compromise though.