Skip to content

Jaime Rios

  • About
  • Github
  • LinkedIn
  • X

analysis

Preventing clang from examinging file during static analysis

October 3, 2013 by jaimerios

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

Categories Coding Tags analysis, analyzer, clang Leave a comment

Recent Posts

  • Package management with CMake’s CPM
  • Automate Evernote using AppleScript
  • Unit Tests and CMake
  • clang static analyzer
  • C++ std::erase and rbegin/rend

Recent Comments

  1. Connecting with C++ – Jaime Rios on Working with REST
  2. Connecting with C++ – Jaime Rios on Making a connection using Swift
  3. Jaime on Xcode 3.1, Perforce and Scripts
  4. jaimerios.com » Blog Archive » Haversine formula now on GitHub on Calculating distance between 2 points on Earth using the Haversine formula
  5. iPhone 3G: How to show locations around a fixed point? | Questions on Calculating distance between 2 points on Earth using the Haversine formula
© 2026 Jaime Rios • Built with GeneratePress