diff options
| author | Manuel Klimek <klimek@google.com> | 2013-05-23 09:41:43 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-05-23 09:41:43 +0000 |
| commit | 80829bd8c3161cb706e28f29ac17a871f5eaaa5b (patch) | |
| tree | bacf55497f36a0f136a37139b4cb4b6556de3ad4 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 0fa3504acfc7c20a87973c58ad3474adc94dd97d (diff) | |
| download | clang-80829bd8c3161cb706e28f29ac17a871f5eaaa5b.tar.gz clang-80829bd8c3161cb706e28f29ac17a871f5eaaa5b.tar.bz2 clang-80829bd8c3161cb706e28f29ac17a871f5eaaa5b.tar.xz | |
Expand parsing of braced init lists.
Allows formatting of C++11 braced init list constructs, like:
vector<int> v { 1, 2, 3 };
f({ 1, 2 });
This involves some changes of how tokens are handled in the
UnwrappedLineFormatter. Note that we have a plan to evolve the
design of the token flow into one where we create all tokens
up-front and then annotate them in the various layers (as we
currently already have to create all tokens at once anyway, the
current abstraction does not help). Thus, this introduces
FIXMEs towards that goal.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
