diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-28 12:45:14 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-28 12:45:14 +0000 |
commit | ca6623b9e3ab292558837b0543e4ab2ac147eb3b (patch) | |
tree | d76d044d5f27b8a542e088f295340c7241a93abb /clang/lib/Serialization/ModuleManager.cpp | |
parent | 6f85ef300d76ff766d639e0a932e8a747e7617e1 (diff) | |
download | llvm-ca6623b9e3ab292558837b0543e4ab2ac147eb3b.zip llvm-ca6623b9e3ab292558837b0543e4ab2ac147eb3b.tar.gz llvm-ca6623b9e3ab292558837b0543e4ab2ac147eb3b.tar.bz2 |
Improve formatting of conditional expressions.
Before we did not really systematically format those. Now, we format the
different cases as:
- 1 Line: a ? b : c;
- 2 Lines: short ? loooooooooong
: loooooooooong
- 2 Lines: loooooooooooooooong
? short : short
- 3 Lines: loooooooooooooooong
? loooooooooooooong
: loooooooooooooong
Not sure whether "?" and ":" should go on the new line, but it seems to
be the most consistent approach.
llvm-svn: 173683
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions