summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2011-05-09 21:45:35 +0000
committerAlexis Hunt <alercah@gmail.com>2011-05-09 21:45:35 +0000
commit88c75c311fc80fb12d7226e93da5db6db1e78b7a (patch)
tree17fdaa85fd0e12bc7311467ffc6edc0c9d73132e /clang/lib/Sema/SemaDecl.cpp
parentfa92ecc3e875c75ff2fcf926f16a1c6731475683 (diff)
downloadbcm5719-llvm-88c75c311fc80fb12d7226e93da5db6db1e78b7a.tar.gz
bcm5719-llvm-88c75c311fc80fb12d7226e93da5db6db1e78b7a.zip
Clean up trivial default constructors now.
hasTrivialDefaultConstructor() really really means it now. Also implement a fun standards bug regarding aggregates. Doug, if you'd like, I can un-implement that bug if you think it is truly a defect. The bug is that non-special-member constructors are never considered user-provided, so the following is an aggregate: struct foo { foo(int); }; It's kind of bad, but the solution isn't obvious - should struct foo { foo (int) = delete; }; be an aggregate or not? Lastly, add a missing initialization to FunctionDecl. llvm-svn: 131101
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud