From 1d212d3d040755d01d6046bc6f3b1019e6d430d2 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Mon, 29 Jan 2024 10:32:13 -0800 Subject: [PATCH] Fix some missing includes/dependencies. --- verilog/analysis/verilog_project.cc | 1 + verilog/tools/ls/BUILD | 1 + verilog/tools/ls/lsp-parse-buffer_test.cc | 2 ++ 3 files changed, 4 insertions(+) diff --git a/verilog/analysis/verilog_project.cc b/verilog/analysis/verilog_project.cc index 23854cb48..9c0616929 100644 --- a/verilog/analysis/verilog_project.cc +++ b/verilog/analysis/verilog_project.cc @@ -22,6 +22,7 @@ #include #include "absl/status/status.h" +#include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h" diff --git a/verilog/tools/ls/BUILD b/verilog/tools/ls/BUILD index 6b586b82e..55df570ca 100644 --- a/verilog/tools/ls/BUILD +++ b/verilog/tools/ls/BUILD @@ -58,6 +58,7 @@ cc_test( deps = [ ":lsp-parse-buffer", "//common/lsp:lsp-text-buffer", + "//common/text:text-structure", "@com_google_absl//absl/strings", "@com_google_googletest//:gtest_main", ], diff --git a/verilog/tools/ls/lsp-parse-buffer_test.cc b/verilog/tools/ls/lsp-parse-buffer_test.cc index 2bb3dc15a..743fe6835 100644 --- a/verilog/tools/ls/lsp-parse-buffer_test.cc +++ b/verilog/tools/ls/lsp-parse-buffer_test.cc @@ -14,7 +14,9 @@ #include "verilog/tools/ls/lsp-parse-buffer.h" +#include "absl/strings/match.h" #include "common/lsp/lsp-text-buffer.h" +#include "common/text/text_structure.h" #include "gtest/gtest.h" namespace verilog {