commit | 7e1848ddba7b2a5f73a17387de7078bf8de7a646 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Dec 11 01:52:50 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Dec 11 01:52:50 2009 +0000 |
tree | 2f6d203adc90fc910ae8449fa6e9ac4b5ce1c576 | |
parent | ed0716b7b79d8cdef34f3bd35776a91aa3c943e5 [diff] |
Give the "cannot pass object of non-POD type 'class C' through variadic constructor; call will abort at runtime" warning a -W flag (non-pod-varargs) and default it being an error by default. There is no good reason to allow users to get bitten by this sort of thing by default. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91094 91177308-0d34-0410-b5e6-96231b3b80d8