]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r254582:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Aug 2013 18:04:13 +0000 (18:04 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Aug 2013 18:04:13 +0000 (18:04 +0000)
commit3eaffe7648a25916d43db61e223bccc1b9a02c9a
tree40d7942fbd8c585955dc2654ad6045e6d2122006
parent2f7ad10733ed7a2373596a207f667d439e508d18
MFC r254582:

Pull in r182983 from upstream clang trunk:

  Fix handling of braced-init-list as reference initializer within
  aggregate initialization. Previously we would incorrectly require an
  extra set of braces around such initializers.

Pull in r188718 from upstream clang trunk:

  Handle init lists and _Atomic fields.

  Fixes PR16931.

These fixes are needed for the atomic_flag type to work correctly in our
stdatomic.h.

Requested by: theraven

git-svn-id: svn://svn.freebsd.org/base/stable/9@254728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp