diff options
author | David Goldman <davg@google.com> | 2020-06-22 10:50:54 -0400 |
---|---|---|
committer | David Goldman <davg@google.com> | 2020-06-25 13:58:27 -0400 |
commit | c61ef1f25c7fe774e68d20beb956a3b12a353b95 (patch) | |
tree | 0ff30564e34f082cb91297b10782f05c2fc9b8d0 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 2bdd41b8c0b4cc8d13ca6c3d255a642a8a9c0969 (diff) | |
download | llvm-c61ef1f25c7fe774e68d20beb956a3b12a353b95.zip llvm-c61ef1f25c7fe774e68d20beb956a3b12a353b95.tar.gz llvm-c61ef1f25c7fe774e68d20beb956a3b12a353b95.tar.bz2 |
[Sema][CodeComplete][ObjC] Don't split the first selector fragment
Summary:
Standardize the formatting of selector fragments to include the ':',
e.g. for `- (void)foobar:(int)foobar;`, report `{foobar:}` instead of
`{foobar}{:}`. This was normally the case except for a couple of places
where it was split.
This also improves integration with clangd since it relies upon the `:`
to identify ObjC selectors.
NOTE: It is possible to have selector fragments that are just `:` with
no text, we now handle this properly for the first fragment.
Reviewers: sammccall, doug.gregor
Subscribers: ilya-biryukov, dexonsmith, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D82306
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions