From 2fb11ebc36a6604adb1e0f0331aeae48a95df212 Mon Sep 17 00:00:00 2001
From: Ted Kremenek
While not strictly part of the compiler, the diagnostics from Clang's static analyzer can also be influenced +by the user via changes to the source code. This can be done in two ways: + +
+#ifndef __clang_analyzer__ +// Code not to be analyzed +#endif ++ +In general, this usage is discouraged. Instead, we prefer that users file bugs +against the analyzer when it flags false positives. There is also active +discussion of allowing users in the future to selectively silence specific +analyzer warnings (some which can already be done using annotations).