[CodeCompletion][NFC] Extract a function that looks for block decl type locs.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 18 Oct 2016 10:35:27 +0000 (10:35 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 18 Oct 2016 10:35:27 +0000 (10:35 +0000)
commita1951202c2d21733aa8d0fb64b0bd7117ef79e88
tree954eaf99ca99cca5edbde0d2666b99053c76fb4e
parent01a955a341a7518bfbcba56f97ecf232b09fd7f6
[CodeCompletion][NFC] Extract a function that looks for block decl type locs.

This commit extracts a new function named `findTypeLocationForBlockDecl` from
the function `FormatFunctionParameter` so that it can be reused in follow-up
commits that improve code completion for block property setters.

Differential Revision: https://reviews.llvm.org/D25519

llvm-svn: 284467
clang/lib/Sema/SemaCodeComplete.cpp