summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/test/code-action-request.test
Commit message (Collapse)AuthorAgeFilesLines
* Make code-action-request.test and request-reply.test pass on Windows.Nico Weber2019-10-141-3/+3
| | | | | | | | | | | | clangd's test:// scheme expands to /clangd-test on non-Win and to C:/clang-test on Win, so it can't be mixed freely with file:///clangd-test since that's wrong on Windows. This makes both tests consistenly use the test:// scheme. (Alternatively, we could use the //INPUT_DIR pattern used in a few other tests.) Part of PR43592. llvm-svn: 374746
* [clangd] Move the expandAuto tweak from global namespace into annoymous ↵Haojian Wu2019-07-121-1/+1
| | | | | | namespace. llvm-svn: 365885
* [clangd] Implementation of auto type expansion.Sam McCall2019-07-111-0/+70
Add a tweak for clangd to replace an auto keyword to the deduced type. This way a user can declare something with auto and then have the IDE/clangd replace auto with whatever type clangd thinks it is. In case of long/complext types this makes is reduces writing effort for the user. The functionality is similar to the hover over the auto keyword. Example (from the header): ``` /// Before: /// auto x = Something(); /// ^^^^ /// After: /// MyClass x = Something(); /// ^^^^^^^ ``` Patch by kuhnel! (Christian Kühnel) Differential Revision: https://reviews.llvm.org/D62855 llvm-svn: 365792
OpenPOWER on IntegriCloud