[PATCH] D25519: [CodeCompletion] Refactor: Extract two Objective-C block formatting related functions from FormatFunctionParameter

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 08:57:50 PDT 2016


arphaman created this revision.
arphaman added a reviewer: manmanren.
arphaman added a subscriber: cfe-commits.
arphaman set the repository for this revision to rL LLVM.

This patch extracts two new functions from the function `FormatFunctionParameter` that are related to Objective-C block formatting. It should be two separate commits (the first extracts `findTypeLocationForBlockDecl`, and the second extracts `formatBlockPlaceholder`), but I squashed them to make the review easier.

This patch is required for my follow up patch that improves completion for block property setters.


Repository:
  rL LLVM

https://reviews.llvm.org/D25519

Files:
  lib/Sema/SemaCodeComplete.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25519.74388.patch
Type: text/x-patch
Size: 6175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161012/831cf737/attachment.bin>


More information about the cfe-commits mailing list