ccls/src/import_pipeline.h
2017-12-23 17:30:55 -08:00

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);