mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-18 14:41:12 +00:00
27 lines
733 B
C++
27 lines
733 B
C++
#pragma once
|
|
|
|
#include "file_consumer.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct ClangTranslationUnit;
|
|
struct Config;
|
|
struct ImportManager;
|
|
struct QueryDatabase;
|
|
struct SemanticHighlightSymbolCache;
|
|
struct WorkingFiles;
|
|
|
|
void IndexWithTuFromCodeCompletion(
|
|
FileConsumer::SharedState* file_consumer_shared,
|
|
ClangTranslationUnit* tu,
|
|
const std::vector<CXUnsavedFile>& file_contents,
|
|
const std::string& path,
|
|
const std::vector<std::string>& args);
|
|
|
|
bool QueryDb_ImportMain(Config* config,
|
|
QueryDatabase* db,
|
|
ImportManager* import_manager,
|
|
SemanticHighlightSymbolCache* semantic_cache,
|
|
WorkingFiles* working_files);
|