llvm-project/clang/tools
Richard Smith 410306bf6e Add two new AST nodes to represent initialization of an array in terms of
initialization of each array element:

 * ArrayInitLoopExpr is a prvalue of array type with two subexpressions:
   a common expression (an OpaqueValueExpr) that represents the up-front
   computation of the source of the initialization, and a subexpression
   representing a per-element initializer
 * ArrayInitIndexExpr is a prvalue of type size_t representing the current
   position in the loop

This will be used to replace the creation of explicit index variables in lambda
capture of arrays and copy/move construction of classes with array elements,
and also C++17 structured bindings of arrays by value (which inexplicably allow
copying an array by value, unlike all of C++'s other array declarations).

No uses of these nodes are introduced by this change, however.

llvm-svn: 289413
2016-12-12 02:53:20 +00:00
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [libclang] Add APIs to check the result of an integer expression in CXEvalResult without overflow 2016-12-01 23:41:27 +00:00
clang-check Frontend: Simplify ownership model for clang's output streams. 2016-07-15 00:55:40 +00:00
clang-format [clang-format] Another attempt at python 3 compatibility 2016-12-10 00:54:13 +00:00
clang-format-vs Fix VS2015 build of clang-format-vsix by using NuGet to pull in required assemblies 2016-12-01 18:05:41 +00:00
clang-fuzzer Add missing header in ClangFuzzer (after r275882 cleanup) 2016-07-18 20:33:09 +00:00
clang-offload-bundler [CMake] Fixing clang standalone build 2016-11-19 21:14:59 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
driver [clang] Fix D26214: Move error handling out of MC and to the callers. 2016-12-06 02:49:16 +00:00
libclang Add two new AST nodes to represent initialization of an array in terms of 2016-12-12 02:53:20 +00:00
scan-build scan-build: Add an option to show the description in the list of defect 2016-08-01 08:04:45 +00:00
scan-build-py [analyzer][scan-build-py] subprocess output handling reviewed in clang module 2016-09-24 00:20:59 +00:00
scan-view Remove autoconf support 2016-01-26 21:30:40 +00:00
CMakeLists.txt clang-offload-bundler - offload files bundling/unbundling tool 2016-08-24 15:21:05 +00:00