HomePhabricator

[clangd] Return TextEdits from ClangdServer::applyTweak

Authored by ilya-biryukov on Jun 12 2019, 5:03 AM.

Description

[clangd] Return TextEdits from ClangdServer::applyTweak

Summary:
Instead of tooling::Replacements. So that embedders do not need to store
the contents of the file.

This also aligns better with ClangdServer::rename.

Reviewers: kadircet, hokein

Reviewed By: hokein

Subscribers: MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

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

llvm-svn: 363150

Details

Committed
ilya-biryukovJun 12 2019, 5:03 AM
Reviewer
hokein
Differential Revision
D63140: [clangd] Return TextEdits from ClangdServer::applyTweak
Parents
rG757ac02dc8fd: [ARM] Implement TTI::isHardwareLoopProfitable
Branches
Unknown
Tags
Unknown