[PATCH] D62855: [clangd] Implementation of auto type expansion.
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 13 18:04:52 PDT 2019
thakis added inline comments.
Herald added a subscriber: usaxena95.
================
Comment at: clang-tools-extra/trunk/clangd/test/code-action-request.test:54
+---
+{"jsonrpc":"2.0","id":4,"method":"workspace/executeCommand","params":{"command":"clangd.applyTweak","arguments":[{"file":"file:///clangd-test/main.cpp","selection":{"end":{"character":4,"line":0},"start":{"character":0,"line":0}},"tweakID":"ExpandAutoType"}]}}
+# CHECK: "newText": "int",
----------------
FYI, referring to a file opened as test:///foo.cpp as file:///clangd-test/file.cpp is wrong on Windows. I fixed this in rL374746.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62855/new/
https://reviews.llvm.org/D62855
More information about the llvm-commits
mailing list