commit | f3c82c5f5c0321babf054983c29ad84cc90244f7 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 23 15:29:33 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 23 15:29:33 2012 +0000 |
tree | 94fc6115180bb4b15e331e3a08e429a500c910f9 | |
parent | 1db772bd68502e0dabbd8efeb7f7c64a4ab2e37a [diff] |
Downgrade C++11 narrowing conversion errors to warnings default-mapped to an error, so that users can turn them off if necessary. Note that this does *not* change the behavior of in a SFINAE context, where we still flag an error even if the warning is disabled. This matches GCC's behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148701 91177308-0d34-0410-b5e6-96231b3b80d8