[tor-commits] [tor/master] Activate INSTRUMENT_DOWNLOADS under clang analyzer as well as coverity

nickm at torproject.org nickm at torproject.org
Thu Sep 18 14:23:49 UTC 2014


commit bb175dac9641f5678875904bb289a1c03054f22c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Sep 18 10:23:14 2014 -0400

    Activate INSTRUMENT_DOWNLOADS under clang analyzer as well as coverity
    
    Patch from teor; ticket 13177.
---
 src/or/or.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/or.h b/src/or/or.h
index 06d4e3c..4d612ff 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -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



More information about the tor-commits mailing list