Skip to content

Commit

Permalink
Merge query.hh and query_util.hh
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Nov 10, 2019
1 parent d6dd932 commit 880c515
Show file tree
Hide file tree
Showing 21 changed files with 418 additions and 440 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ target_sources(ccls PRIVATE
src/platform_win.cc
src/position.cc
src/project.cc
src/query_utils.cc
src/query.cc
src/serializer.cc
src/test.cc
Expand Down
2 changes: 1 addition & 1 deletion src/message_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "log.hh"
#include "pipeline.hh"
#include "project.hh"
#include "query_utils.hh"
#include "query.hh"
#include "serializers/json.hh"

#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion src/messages/ccls_call.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "hierarchy.hh"
#include "message_handler.hh"
#include "pipeline.hh"
#include "query_utils.hh"
#include "query.hh"

#include <unordered_set>

Expand Down
2 changes: 1 addition & 1 deletion src/messages/ccls_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "message_handler.hh"
#include "pipeline.hh"
#include "project.hh"
#include "query_utils.hh"
#include "query.hh"

namespace ccls {
MAKE_REFLECT_STRUCT(QueryFile::Def, path, args, language, skipped_ranges,
Expand Down
2 changes: 1 addition & 1 deletion src/messages/ccls_inheritance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "hierarchy.hh"
#include "message_handler.hh"
#include "pipeline.hh"
#include "query_utils.hh"
#include "query.hh"

#include <unordered_set>

Expand Down
2 changes: 1 addition & 1 deletion src/messages/ccls_member.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "hierarchy.hh"
#include "message_handler.hh"
#include "pipeline.hh"
#include "query_utils.hh"
#include "query.hh"

#include <clang/AST/Type.h>
#include <llvm/ADT/DenseSet.h>
Expand Down
2 changes: 1 addition & 1 deletion src/messages/ccls_navigate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "message_handler.hh"
#include "query_utils.hh"
#include "query.hh"

namespace ccls {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/ccls_vars.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "message_handler.hh"
#include "pipeline.hh"
#include "query_utils.hh"
#include "query.hh"

namespace ccls {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_code.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "message_handler.hh"
#include "pipeline.hh"
#include "query_utils.hh"
#include "query.hh"
#include "serializers/json.hh"

#include <llvm/Support/FormatVariadic.h>
Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_definition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "message_handler.hh"
#include "query_utils.hh"
#include "query.hh"

#include <ctype.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_document.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "message_handler.hh"
#include "pipeline.hh"
#include "query_utils.hh"
#include "query.hh"

#include <algorithm>

Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_foldingRange.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "message_handler.hh"
#include "pipeline.hh"
#include "project.hh"
#include "query_utils.hh"
#include "query.hh"
#include "working_files.hh"

namespace ccls {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_hover.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "message_handler.hh"
#include "query_utils.hh"
#include "query.hh"

namespace ccls {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_references.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "message_handler.hh"
#include "query_utils.hh"
#include "query.hh"

#include <unordered_set>

Expand Down
2 changes: 1 addition & 1 deletion src/messages/textDocument_rename.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "message_handler.hh"
#include "query_utils.hh"
#include "query.hh"

namespace ccls {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/messages/workspace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "message_handler.hh"
#include "pipeline.hh"
#include "project.hh"
#include "query_utils.hh"
#include "query.hh"

#include <llvm/ADT/STLExtras.h>
#include <llvm/ADT/StringRef.h>
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "pipeline.hh"
#include "platform.hh"
#include "project.hh"
#include "query_utils.hh"
#include "query.hh"
#include "serializers/json.hh"

#include <rapidjson/document.h>
Expand Down
Loading

0 comments on commit 880c515

Please sign in to comment.