How I like to code

Monthly Archives: October 2013

Preventing clang from examinging file during static analysis

Ok, so if you want to avoid a file from being analyzed during a static analysis, you can use the following example #ifndef __clang_analyzer__ // code clang should not analyze #endif http://clang-analyzer.llvm.org/faq.html