diff options
author | Ben Hamilton <benhamilton@google.com> | 2018-04-12 15:11:48 +0000 |
---|---|---|
committer | Ben Hamilton <benhamilton@google.com> | 2018-04-12 15:11:48 +0000 |
commit | 416348ef8323ceebfae40886ec355fb55f381e2c (patch) | |
tree | 1abd16199e48760d982ba3266b81cb436c533601 /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 6c2f868bbd489d06b1e22bd8d1ce1e234018dbe5 (diff) | |
download | bcm5719-llvm-416348ef8323ceebfae40886ec355fb55f381e2c.tar.gz bcm5719-llvm-416348ef8323ceebfae40886ec355fb55f381e2c.zip |
[clang-format] Always indent wrapped Objective-C selector names
Summary:
Currently, indentation of Objective-C method names which are wrapped
onto the next line due to a long return type is controlled by the
style option `IndentWrappedFunctionNames`.
This diff changes the behavior so we always indent wrapped Objective-C
selector names.
NOTE: I partially reverted https://github.com/llvm-mirror/clang/commit/6159c0fbd1876c7f5f984b4830c664cc78f16e2e / rL242484, as it was causing wrapped selectors to be double-indented. Its tests in FormatTestObjC.cpp still pass.
Test Plan: Tests updated. Ran tests with:
% make -j12 FormatTests && ./tools/clang/unittests/Format/FormatTests
Reviewers: djasper, jolesiak, stephanemoore, thakis
Reviewed By: djasper
Subscribers: stephanemoore, klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D45004
llvm-svn: 329916
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions