mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 02:21:57 +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);
|