diff options
| author | Francois Ferrand <thetypz@gmail.com> | 2018-02-27 13:48:27 +0000 |
|---|---|---|
| committer | Francois Ferrand <thetypz@gmail.com> | 2018-02-27 13:48:27 +0000 |
| commit | a2484b251bb821561b626d55702c435b33267df1 (patch) | |
| tree | aeba629e3ed1bf364d9110e84b0e419b07d0a581 /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | ba91c3de383cbcc1f5cdb678412a622118096a78 (diff) | |
| download | llvm-a2484b251bb821561b626d55702c435b33267df1.zip llvm-a2484b251bb821561b626d55702c435b33267df1.tar.gz llvm-a2484b251bb821561b626d55702c435b33267df1.tar.bz2 | |
clang-format: use AfterControlStatement to format ObjC control blocks
ObjC defines `@autoreleasepool` and `@synchronized` control blocks. These
used to be formatted according to the `AfterObjCDeclaration` brace-
wrapping flag, which is not very consistent.
This patch changes the behavior to use the `AfterControlStatement` flag
instead. This should not affect the behavior unless a custom brace
wrapping mode is used.
Reviewers: krasimir, djasper, klimek, benhamilton
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D43232
llvm-svn: 326192
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
