clang 18.0.0git
CodeCompletion.h
Go to the documentation of this file.
1//===----- CodeCompletion.h - Code Completion for ClangRepl ---===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the classes which performs code completion at the REPL.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CLANG_INTERPRETER_CODE_COMPLETION_H
14#define LLVM_CLANG_INTERPRETER_CODE_COMPLETION_H
15#include <string>
16#include <vector>
17
18namespace llvm {
19class StringRef;
20} // namespace llvm
21
22namespace clang {
23class CodeCompletionResult;
24class CompilerInstance;
25
26void codeComplete(CompilerInstance *InterpCI, llvm::StringRef Content,
27 unsigned Line, unsigned Col, const CompilerInstance *ParentCI,
28 std::vector<std::string> &CCResults);
29} // namespace clang
30#endif
void codeComplete(CompilerInstance *InterpCI, llvm::StringRef Content, unsigned Line, unsigned Col, const CompilerInstance *ParentCI, std::vector< std::string > &CCResults)
YAML serialization mapping.
Definition: Dominators.h:30