diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-11 01:52:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-11 01:52:50 +0000 |
commit | 7e1848ddba7b2a5f73a17387de7078bf8de7a646 (patch) | |
tree | 2f6d203adc90fc910ae8449fa6e9ac4b5ce1c576 /lib/CodeGen/CodeGenModule.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions