#pragma once #include "file_consumer.h" #include #include struct ClangTranslationUnit; struct Config; struct ImportManager; struct QueryDatabase; struct SemanticHighlightSymbolCache; struct WorkingFiles; void IndexWithTuFromCodeCompletion( FileConsumer::SharedState* file_consumer_shared, ClangTranslationUnit* tu, const std::vector& file_contents, const std::string& path, const std::vector& args); bool QueryDb_ImportMain(Config* config, QueryDatabase* db, ImportManager* import_manager, SemanticHighlightSymbolCache* semantic_cache, WorkingFiles* working_files);