]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Activate INSTRUMENT_DOWNLOADS under clang analyzer as well as coverity
authorNick Mathewson <nickm@torproject.org>
Thu, 18 Sep 2014 14:23:14 +0000 (10:23 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 18 Sep 2014 14:23:33 +0000 (10:23 -0400)
Patch from teor; ticket 13177.

src/or/or.h

index 06d4e3c9263ec92eec85aa30febda954295f2c7b..4d612ff65f3265b21609f223d63bfae560e2cdf5 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "orconfig.h"
 
-#ifdef __COVERITY__
+#if defined(__clang_analyzer__) || defined(__COVERITY__)
 /* If we're building for a static analysis, turn on all the off-by-default
  * features. */
 #ifndef INSTRUMENT_DOWNLOADS