diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-05-15 04:39:51 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-05-15 04:39:51 +0000 |
commit | b9e90b13cfd73f5f3e0db9bb05c234f9fcb66748 (patch) | |
tree | 854195571760870974ca983f610698c99e944913 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | cf434ee4c18e83491568ff32ff9a8a78a972c190 (diff) | |
download | bcm5719-llvm-b9e90b13cfd73f5f3e0db9bb05c234f9fcb66748.tar.gz bcm5719-llvm-b9e90b13cfd73f5f3e0db9bb05c234f9fcb66748.zip |
Fold the six functions checking explicitly-defaulted special member functions
into one. These were all performing almost identical checks, with different bugs
in each of them.
This fixes PR12806 (we weren't setting the exception specification for an
explicitly-defaulted, non-user-provided default constructor) and enforces
8.4.2/2's rule that an in-class defaulted member must exactly match the implicit
parameter type.
llvm-svn: 156802
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions