diff options
| author | Daniel Jasper <djasper@google.com> | 2013-07-09 09:06:29 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-07-09 09:06:29 +0000 |
| commit | 0de1c4d152b5fbf0b383e9fa8396e334f029c716 (patch) | |
| tree | 8db45a7303d556d98e524ccbfe6983a0d9b67c01 /lib/CodeGen/CGExpr.cpp | |
| parent | 6561f6a13b79ed752748ede590792191edf78ce8 (diff) | |
| download | clang-0de1c4d152b5fbf0b383e9fa8396e334f029c716.tar.gz clang-0de1c4d152b5fbf0b383e9fa8396e334f029c716.tar.bz2 clang-0de1c4d152b5fbf0b383e9fa8396e334f029c716.tar.xz | |
Fix alignment of closing brace in braced initializers.
Before:
someFunction(OtherParam, BracedList{
// comment 1 (Forcing intersting break)
param1, param2,
// comment 2
param3, param4
});
After:
someFunction(OtherParam, BracedList{
// comment 1 (Forcing intersting break)
param1, param2,
// comment 2
param3, param4
});
To do so, the UnwrappedLineParser now stores the information about the
kind of brace in the FormatToken.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
