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 | 2cf664fb86e0abbf8d9000e9a71f31e0fa1203d4 (patch) | |
tree | 1703fb3a5c80577bd9a466b956e8b7317c0f3958 /clang/lib/CodeGen/CGDebugInfo.h | |
parent | f78c19c3bb195ceeb8dc7551631834684666cd2a (diff) | |
download | bcm5719-llvm-2cf664fb86e0abbf8d9000e9a71f31e0fa1203d4.tar.gz bcm5719-llvm-2cf664fb86e0abbf8d9000e9a71f31e0fa1203d4.zip |
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);
llvm-svn: 189657
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
0 files changed, 0 insertions, 0 deletions