Explicitly generate a reference variable to hold the initializer for a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 14 Aug 2016 23:15:52 +0000 (23:15 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 14 Aug 2016 23:15:52 +0000 (23:15 +0000)
commit97fcf4be9be72b9d1b5650da8ca76e3badbf49ff
treef5b7093b76db2ffa0e9bce81d0ef86cbdeb55424
parent52fe9ae99043cc9131ed8260cfda15b575e67d69
Explicitly generate a reference variable to hold the initializer for a
tuple-like decomposition declaration. This significantly simplifies the
semantics of BindingDecls for AST consumers (they can now always be evalated
at the point of use).

llvm-svn: 278640
clang/include/clang/AST/DeclCXX.h
clang/include/clang/Sema/Initialization.h
clang/lib/AST/DeclCXX.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/Sema/SemaDeclCXX.cpp