diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2016-10-18 10:55:01 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2016-10-18 10:55:01 +0000 |
| commit | f0b4e5db16a81e462db87c4b3d5b52ff1f751b0b (patch) | |
| tree | d4f0528dad8e24043b95d923bde6e4f8b8f12236 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | bcfcb9e60f116089b2b2a2c94e569edc11da89d8 (diff) | |
[CodeCompletion] Add a block property setter completion result
This commit changes code completion results for Objective-C block properties:
clang now suggests an additional completion result that displays the block
property together with '=' and the block literal placeholder for the appropriate
readwrite block properties.
This commit uses a simple heuristic to determine when it's appropriate to
suggest a setter completion for block properties: the additional block setter
completion is provided iff the member access that's being completed is a
standalone statement.
rdar://28481726
Differential Revision: https://reviews.llvm.org/D25520
llvm-svn: 284472
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
