diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2019-05-28 15:33:37 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2019-05-28 15:33:37 +0000 |
commit | 8534675cefb427f33c4fa083d2751ef09acccaf5 (patch) | |
tree | a592558488f33d1679f650fcd6aa3d096c30a3d2 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 756565d47079044b31b88bbcb8f71518c9526bd8 (diff) | |
download | llvm-8534675cefb427f33c4fa083d2751ef09acccaf5.zip llvm-8534675cefb427f33c4fa083d2751ef09acccaf5.tar.gz llvm-8534675cefb427f33c4fa083d2751ef09acccaf5.tar.bz2 |
[clangd] Place cursor better after completing patterns
Summary:
By producing the $0 marker in the snippets at the last placeholder.
This produces nicer results in most cases, e.g. for
namespace <#name#> {
<#decls#>
}
we now produce ${0:decls} instead of ${2:decls} and the final cursor
placement is more convenient.
Reviewers: hokein
Reviewed By: hokein
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62389
llvm-svn: 361841
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions