git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_35@215314
91177308-0d34-0410-b5e6-
96231b3b80d8
Static Analyzer
---------------
+Check for code testing a variable for 0 after using it as a denominator.
+This new checker, alpha.core.TestAfterDivZero, catches issues like this:
+
+.. code:: c
+
+ int sum = ...
+ int avg = sum / count; // potential division by zero...
+ if (count == 0) { ... } // ...caught here
+
+
The `-analyzer-config` options are now passed from scan-build through to
ccc-analyzer and then to Clang.