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 | bfe6fd4f00257b113ea3bcb4efef8d9f9f245882 (patch) | |
tree | c53f97d7d3dd18e57cad1ad4cb021bac172feb62 /include/clang/Basic/SourceManager.h | |
parent | ae8699bde649e2ed1f66414b4283b862f11056dd (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173683 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
0 files changed, 0 insertions, 0 deletions