summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-12-19 21:41:37 +0000
committerDaniel Jasper <djasper@google.com>2013-12-19 21:41:37 +0000
commit20ed9c6569e04bd5173b28fabe641bf08bdc64a5 (patch)
tree9e41c542d6e1feb9b41ce607149bf16fc4eb4145 /lib/CodeGen/CGExprConstant.cpp
parentf7c844e91817cf3cd8e87bf444b4bbcb37e0716d (diff)
downloadclang-20ed9c6569e04bd5173b28fabe641bf08bdc64a5.tar.gz
clang-20ed9c6569e04bd5173b28fabe641bf08bdc64a5.tar.bz2
clang-20ed9c6569e04bd5173b28fabe641bf08bdc64a5.tar.xz
clang-format: Add special case for leading comments in braced lists.
A comment following the "{" of a braced list seems to almost always refer to the first element of the list and thus should be aligned to it. Before (with Cpp11 braced list style): SomeFunction({ // Comment 1 "first entry", // Comment 2 "second entry"}); After: SomeFunction({// Comment 1 "first entry", // Comment 2 "second entry"}); git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions