[all-commits] [llvm/llvm-project] 35b366: [ClangRepl] Reland Semanic Code Completion (#75556)
Fred Fu via All-commits
all-commits at lists.llvm.org
Tue Dec 19 12:53:15 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35b366ace73d0ede3cdeeb4d09150a9945750b7f
https://github.com/llvm/llvm-project/commit/35b366ace73d0ede3cdeeb4d09150a9945750b7f
Author: Fred Fu <moonsolo at gmail.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M clang/include/clang/Interpreter/CodeCompletion.h
M clang/include/clang/Interpreter/Interpreter.h
M clang/lib/Interpreter/CodeCompletion.cpp
M clang/lib/Interpreter/Interpreter.cpp
M clang/tools/clang-repl/ClangRepl.cpp
M clang/unittests/Interpreter/CodeCompletionTest.cpp
Log Message:
-----------
[ClangRepl] Reland Semanic Code Completion (#75556)
This patch contains changes from
002d471a4a3cd8b429e4ca7c84fd54a642e50e4c, in
addition to a bug fix that added a virtual destructor to
`CompletionContextHandler`
The original changes in the orginal commit piggybacks on clang's
semantic modules to enable semantic completion. In particular, we use
`CodeCompletionContext` to differentiate two types of code completion.
We also
extract the relevant type information from it.
More information about the All-commits
mailing list