[cfe-dev] Clang: Suppress static analysis of system header files

Jordan Rose jordan_rose at apple.com
Wed Oct 10 11:59:43 PDT 2012


Ah, thanks for catching this, Sujit! It turns out we were indeed forgetting to suppress analysis of /decls/ from system headers, even though we were not running path-sensitive checks on them. This should be fixed in r165635, with the following rules:

- Main source file: run both path-sensitive and non-path-sensitive checks.
- Header files: run non-path-sensitive checks only.
- System headers: don't run any checks.

Best,
Jordan



More information about the cfe-dev mailing list