diff options
| author | Daniel Jasper <djasper@google.com> | 2013-08-30 07:27:13 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-08-30 07:27:13 +0000 |
| commit | 290824530199d9d3728edfbaeb5ccedb798d4498 (patch) | |
| tree | cebfcc620175323fb972ed1c5682630af5c0a71f /lib/CodeGen/CGExpr.cpp | |
| parent | eb331832830c51322a225a3de480189c7d6d7503 (diff) | |
| download | clang-290824530199d9d3728edfbaeb5ccedb798d4498.tar.gz clang-290824530199d9d3728edfbaeb5ccedb798d4498.tar.bz2 clang-290824530199d9d3728edfbaeb5ccedb798d4498.tar.xz | |
clang-format: Don't indent builders relative to "return".
While this looks kind of nice, it wastes horizontal space and does not
seem to be common in the LLVM codebase.
Before:
return llvm::StringSwitch<Reference::Kind>(name)
.StartsWith(".eh_frame_hdr", ORDER_EH_FRAMEHDR)
.StartsWith(".eh_frame", ORDER_EH_FRAME)
.StartsWith(".init", ORDER_INIT)
.StartsWith(".fini", ORDER_FINI)
.StartsWith(".hash", ORDER_HASH)
.Default(ORDER_TEXT);
After:
return llvm::StringSwitch<Reference::Kind>(name)
.StartsWith(".eh_frame_hdr", ORDER_EH_FRAMEHDR)
.StartsWith(".eh_frame", ORDER_EH_FRAME)
.StartsWith(".init", ORDER_INIT)
.StartsWith(".fini", ORDER_FINI)
.StartsWith(".hash", ORDER_HASH)
.Default(ORDER_TEXT);
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
