summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-07-16 18:22:10 +0000
committerDaniel Jasper <djasper@google.com>2013-07-16 18:22:10 +0000
commitb5dc3f4f53981b681a565cdf1d49f18e817541ff (patch)
treed57b54e204720c74d1d5cecb2dea743f53373e30 /lib/CodeGen/CGExprComplex.cpp
parentbdfacea02fa37b64e4eb815448bc5c4d42a67a8e (diff)
downloadclang-b5dc3f4f53981b681a565cdf1d49f18e817541ff.tar.gz
clang-b5dc3f4f53981b681a565cdf1d49f18e817541ff.tar.bz2
clang-b5dc3f4f53981b681a565cdf1d49f18e817541ff.tar.xz
Revamp the formatting of C++11 braced init lists.
The fundamental concept is: Format as if the braced init list was a function call (with parentheses replaced by braces). If there is no name/type before the opening brace (e.g. if the braced list is nested), assume a zero-length identifier just before the opening brace. This behavior is gated on a new style flag, which for now replaces the SpacesInBracedLists style flag. Activate this style flag for Google style to reflect recent style guide changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions