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 | 56caf31afb5ffed870a2b970a87291019f1aeb24 (patch) | |
| tree | d1ff184020addcaaf03447d3209c52810ac23098 /clang/test/CXX/class.access/class.access.dcl/p1.cpp | |
| parent | a581aacdcee60677f2ad6cd89ffae1ff2238417d (diff) | |
| download | bcm5719-llvm-56caf31afb5ffed870a2b970a87291019f1aeb24.tar.gz bcm5719-llvm-56caf31afb5ffed870a2b970a87291019f1aeb24.zip | |
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.
llvm-svn: 91094
Diffstat (limited to 'clang/test/CXX/class.access/class.access.dcl/p1.cpp')
0 files changed, 0 insertions, 0 deletions

