[clang] [ClangRepl] Type Directed Code Completion (PR #67349)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 6 10:58:16 PST 2023
================
@@ -56,26 +69,151 @@ class ReplCompletionConsumer : public CodeCompleteConsumer {
std::shared_ptr<GlobalCodeCompletionAllocator> CCAllocator;
CodeCompletionTUInfo CCTUInfo;
std::vector<std::string> &Results;
+ ReplCodeCompleter &CC;
+};
+
+/*
+ The abstract class CompletionContextHandler contains four interfaces, each of
+ which handles one type of completion result.
+
+ Its substract classes are used to create concrete handlers based on
+ CodeCompletionContext.
+ */
----------------
vgvassilev wrote:
```suggestion
/// The abstract class CompletionContextHandler contains four interfaces, each of
/// which handles one type of completion result.
///
/// Its substract classes are used to create concrete handlers based on
/// \c CodeCompletionContext.
```
https://github.com/llvm/llvm-project/pull/67349
More information about the cfe-commits
mailing list