Forward declare Project

This commit is contained in:
Jacob Dufault 2018-01-06 13:40:33 -08:00
parent 3f1cb5c072
commit e09ed35a8d
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#include "message_handler.h"
#include "lex_utils.h"
#include "project.h"
#include "query_utils.h"
#include "queue_manager.h"
#include "semantic_highlight_symbol_cache.h"

View File

@ -3,7 +3,6 @@
#include "ipc.h"
#include "language_server_api.h"
#include "query.h"
#include "project.h"
#include <optional.h>
@ -18,6 +17,7 @@ struct ImportManager;
struct ImportPipelineStatus;
struct IncludeComplete;
struct MultiQueueWaiter;
struct Project;
struct QueryDatabase;
struct SemanticHighlightSymbolCache;
struct TimestampManager;
@ -75,7 +75,7 @@ struct BaseMessageHandler : MessageHandler {
};
bool FindFileOrFail(QueryDatabase* db,
const Project *project,
const Project* project,
optional<lsRequestId> id,
const std::string& absolute_path,
QueryFile** out_query_file,