]> granicus.if.org Git - clang/commit
Generate constructor for value-initialization cases, even if the
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 27 Oct 2009 16:51:19 +0000 (16:51 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 27 Oct 2009 16:51:19 +0000 (16:51 +0000)
commit6c813e1cb719a328f01619c3d44910be4e79e4d5
treed16946911c9302726f09829cbf862da3e6275349
parent7d5ba55f58c070e5b9f8cee3a172e2da1fcd02af
Generate constructor for value-initialization cases, even if the
implementation technique doesn't call the constructor at that point.
DR302. Fixes pr5296.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85249 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/value-initialization.cpp [new file with mode: 0644]