diff options
author | Adam Czachorowski <adamcz@google.com> | 2021-09-30 15:11:29 +0200 |
---|---|---|
committer | Adam Czachorowski <adamcz@google.com> | 2021-10-19 12:49:46 +0200 |
commit | 8fbac4e88ac3dde30310bb63b234045075cd338b (patch) | |
tree | 7540e2121ce61376cd0322e89a41edacddbe4fe1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | 7dfb1395549c34f4b607055c01f8c510ead6b0db (diff) | |
download | llvm-8fbac4e88ac3dde30310bb63b234045075cd338b.zip llvm-8fbac4e88ac3dde30310bb63b234045075cd338b.tar.gz llvm-8fbac4e88ac3dde30310bb63b234045075cd338b.tar.bz2 |
[clangd] Add code completion of param name on /* inside function calls.
For example, if you have:
void foo(int bar);
foo(/*^
it should auto-complete to "bar=".
Because Sema callbacks for code completion in comments happen before we
have an AST we need to cheat in clangd by detecting completion on /*
before, moving cursor back by two characters, then running a simplified
verion of SignatureHelp to extract argument name(s) from possible
overloads.
Differential Revision: https://reviews.llvm.org/D110823
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions