commit | d1600411495c0bd52dd0f3809ed6bf0d6faca349 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Wed Jun 10 16:33:43 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Wed Jun 10 17:24:38 2015 -0700 |
tree | baa16a5a01d1f2b1894159a2806b04a95fef02d8 | |
parent | 1b96592aab7a8e3d357a4e09f685968edcfe05b9 [diff] |
Force some clang Werrors that *will* break things. Clang is really aggressive at optimizing a handful of cases (read: clang will ruin your day some if you write bad code). Fortunately, it also emits a warning when it's about to do this. To prevent anyone from suffering from these optimizations, make these warnings errors and make them impossible to disable. Change-Id: I5e10bb0fc2ca23190017da716b3b84635577a0bd